chore: bump github.com/stretchr/testify from 1.9.0 to 1.11.1
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(about 2 months ago)
(about 2 months ago)
dependencies go
Bumps github.com/stretchr/testify from 1.9.0 to 1.11.1.
Release notes
Sourced from github.com/stretchr/testify's releases.
v1.11.1
This release fixes #1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (
String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.What's Changed
- Backport #1786 to release/1.11: mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by
@brackendawsonin stretchr/testify#1788Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1
v1.11.0
What's Changed
Functional Changes
v1.11.0 Includes a number of performance improvements.
- Call stack perf change for CallerInfo by
@mikeauclairin stretchr/testify#1614- Lazily render mock diff output on successful match by
@mikeauclairin stretchr/testify#1615- assert: check early in Eventually, EventuallyWithT, and Never by
@cszczepaniakin stretchr/testify#1427- assert: add IsNotType by
@bartventerin stretchr/testify#1730- assert.JSONEq: shortcut if same strings by
@dolmenin stretchr/testify#1754- assert.YAMLEq: shortcut if same strings by
@dolmenin stretchr/testify#1755- assert: faster and simpler isEmpty using reflect.Value.IsZero by
@dolmenin stretchr/testify#1761- suite: faster methods filtering (internal refactor) by
@dolmenin stretchr/testify#1758Fixes
- assert.ErrorAs: log target type by
@craig65535in stretchr/testify#1345- Fix failure message formatting for Positive and Negative asserts in stretchr/testify#1062
- Improve ErrorIs message when error is nil but an error was expected by
@tsioftasin stretchr/testify#1681- fix Subset/NotSubset when calling with mixed input types by
@siliconbrainin stretchr/testify#1729- Improve ErrorAs failure message when error is nil by
@ccoVeillein stretchr/testify#1734- mock.AssertNumberOfCalls: improve error msg by
@3scalationin stretchr/testify#1743Documentation, Build & CI
- docs: Fix typo in README by
@alexandearin stretchr/testify#1688- Replace deprecated io/ioutil with io and os by
@alexandearin stretchr/testify#1684- Document consequences of calling t.FailNow() by
@greg0irein stretchr/testify#1710- chore: update docs for Unset #1621 by
@techfgin stretchr/testify#1709- README: apply gofmt to examples by
@alexandearin stretchr/testify#1687- refactor: use %q and %T to simplify fmt.Sprintf by
@alexandearin stretchr/testify#1674- Propose Christophe Colombier (ccoVeille) as approver by
@brackendawsonin stretchr/testify#1716- Update documentation for the Error function in assert or require package by
@architagrin stretchr/testify#1675- assert: remove deprecated build constraints by
@alexandearin stretchr/testify#1671- assert: apply gofumpt to internal test suite by
@ccoVeillein stretchr/testify#1739- CI: fix shebang in .ci.*.sh scripts by
@dolmenin stretchr/testify#1746- assert,require: enable parallel testing on (almost) all top tests by
@dolmenin stretchr/testify#1747- suite.Passed: add one more status test report by
@Ararsa-Deresein stretchr/testify#1706- Add Helper() method in internal mocks and assert.CollectT by
@dolmenin stretchr/testify#1423- assert.Same/NotSame: improve usage of Sprintf by
@ccoVeillein stretchr/testify#1742- mock: enable parallel testing on internal testsuite by
@dolmenin stretchr/testify#1756- suite: cleanup use of 'testing' internals at runtime by
@dolmenin stretchr/testify#1751- assert: check test failure message for Empty and NotEmpty by
@ccoVeillein stretchr/testify#1745
... (truncated)
Commits
2a57335Merge pull request #1788 from brackendawson/1785-backport-1.11af8c912Backport #1786 to release/1.11b7801fbMerge pull request #1778 from stretchr/dependabot/github_actions/actions/chec...69831f3build(deps): bump actions/checkout from 4 to 5a53be35Improve captureTestingT helperaafb604mock: improve formatting of error message7218e03improve error msg929a212Merge pull request #1758 from stretchr/dolmen/suite-faster-method-filteringbc7459esuite: faster filtering of methods (-testify.m)7d37b5csuite: refactor methodFilter- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+3
-3
Package Dependencies
github.com/stretchr/testify
go
1.9.0 → 1.11.1
Minor
Technical Details
| ID: | 6395158 |
| UUID: | 2790819652 |
| Node ID: | PR_kwDOLmBl1M6mWIdE |
| Host: | GitHub |
| Repository: | Txim0520/https-github.com-coder-coder |
| Merge State: | Unknown |