Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stretchr/testify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.7.1
Choose a base ref
...
head repository: stretchr/testify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.7.5
Choose a head ref
  • 18 commits
  • 13 files changed
  • 15 contributors

Commits on Mar 17, 2022

  1. Update versions supported to include go 1.16

    Rather than directly adding `1.16`, I thought better to reword to state the minimum version supported... this way the line doesn't have to get updated with every new release, but instead only when dropping releases.
    jeffwidman authored and boyan-soubachov committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    7797738 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. assert: fix typo

    Signed-off-by: cuishuang <imcusg@gmail.com>
    cuishuang authored and boyan-soubachov committed May 4, 2022
    Configuration menu
    Copy the full SHA
    3586478 View commit details
    Browse the repository at this point in the history
  2. fix data race in the suit

    Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
    hawkingrei authored and boyan-soubachov committed May 4, 2022
    Configuration menu
    Copy the full SHA
    a409ccf View commit details
    Browse the repository at this point in the history
  3. use RWMutex

    Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
    hawkingrei authored and boyan-soubachov committed May 4, 2022
    Configuration menu
    Copy the full SHA
    106ec21 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Bump actions/setup-go from 2 to 3.1.0

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.1.0.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@v2...v3.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and boyan-soubachov committed May 13, 2022
    Configuration menu
    Copy the full SHA
    6e7fab4 View commit details
    Browse the repository at this point in the history
  2. Update go versions in build matrix

    These are the latest versions listed on https://go.dev/dl/
    jeffwidman authored and boyan-soubachov committed May 13, 2022
    Configuration menu
    Copy the full SHA
    285adcc View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Update gopkg.in/yaml.v3

    ingwarsw authored and boyan-soubachov committed Jun 6, 2022
    1 Configuration menu
    Copy the full SHA
    41453c0 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Bump github.com/stretchr/objx from 0.1.0 to 0.4.0

    Bumps [github.com/stretchr/objx](https://github.com/stretchr/objx) from 0.1.0 to 0.4.0.
    - [Release notes](https://github.com/stretchr/objx/releases)
    - [Commits](stretchr/objx@v0.1.0...v0.4.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/stretchr/objx
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and boyan-soubachov committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    e2b56b3 View commit details
    Browse the repository at this point in the history
  2. Added Go 1.18.1 as a build/supported version (#1182)

    * Added Go 1.18.1 as a build/supported version
    Removed Go 1.15.13 as a build version as it's no longer supported
    
    * Fix mutex passed by value for the Mock struct
    
    * Add mutex initialisation for Mock
    
    Co-authored-by: Boyan Soubachov <bsoubachov@atlassian.com>
    boyan-soubachov and bsoubachov authored Jun 14, 2022
    Configuration menu
    Copy the full SHA
    3c33e07 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Bump actions/checkout from 2 to 3 (#1163)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    c33fc8d View commit details
    Browse the repository at this point in the history
  2. Bump actions/setup-go from 3.1.0 to 3.2.0 (#1191)

    Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.1.0 to 3.2.0.
    - [Release notes](https://github.com/actions/setup-go/releases)
    - [Commits](actions/setup-go@v3.1.0...v3.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-go
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    07dc7ee View commit details
    Browse the repository at this point in the history
  3. arrays value types in a zero-initialized state are considered empty (#…

    …1126)
    
    * fix .Empty assertion with Array types
    
    * refactor .Empty assertion for array types
    adamluzsi authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    840cb80 View commit details
    Browse the repository at this point in the history
  4. Fix panic in AssertExpectations for mocks without expectations (#1207)

    Co-authored-by: Tony Abboud <tabboud@palantir.com>
    tabboud and Tony Abboud authored Jun 20, 2022
    Configuration menu
    Copy the full SHA
    48391ba View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. Support comparing byte slice (#1202)

    * support comparing byte slice
    
    Signed-off-by: Ryan Leung <rleungx@gmail.com>
    
    * address the comment
    
    Signed-off-by: Ryan Leung <rleungx@gmail.com>
    rleungx authored Jun 21, 2022
    Configuration menu
    Copy the full SHA
    c31ea03 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. Add .Unset method to mock (#982)

    * Add .Off method to mock
    
    * Update README.md
    
    * Update mock.go
    
    * Update mock_test.go
    
    * Update README.md
    
    * Fix tests
    
    * Add unset test
    
    * remove prints
    
    * fix test
    
    * update readme
    pdufour authored Jun 22, 2022
    Configuration menu
    Copy the full SHA
    ba1076d View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Configuration menu
    Copy the full SHA
    1b73601 View commit details
    Browse the repository at this point in the history
  2. Mock can be deadlocked by a panic (#1157)

    If an argumentMatcher function panics and AssertExpectations is deferred then the test would deadlock.
    brackendawson authored Jun 23, 2022
    Configuration menu
    Copy the full SHA
    c206b2e View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. fixing panic in calls to assertion with nil m.mutex (#1212)

    * fixing panic in calls to assertion with nil m.mutex
    
    This reverts a change that was made in #1182
    The PR makes m.mutex a pointer which now needs to be checked but it's not checked for nil everywhere.
    
    This should also help with these issues:
    - #1208
    - #1210
    
    * Revert throwing out the lock because other concurrent calls can already have it locked
    
    * fix go vet copy lock by using pointer
    
    * fix obj assignment for passing test
    Edward Raigosa authored Jun 24, 2022
    Configuration menu
    Copy the full SHA
    b5ce165 View commit details
    Browse the repository at this point in the history
Loading