CLOUD-727: Bump github.com/stretchr/testify from 1.10.0 to 1.11.1
Type: Pull Request
State: Open
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 2
(29 days ago)
(7 days ago)
dependencies
Bumps github.com/stretchr/testify from 1.10.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
@brackendawson
in 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
@mikeauclair
in stretchr/testify#1614- Lazily render mock diff output on successful match by
@mikeauclair
in stretchr/testify#1615- assert: check early in Eventually, EventuallyWithT, and Never by
@cszczepaniak
in stretchr/testify#1427- assert: add IsNotType by
@bartventer
in stretchr/testify#1730- assert.JSONEq: shortcut if same strings by
@dolmen
in stretchr/testify#1754- assert.YAMLEq: shortcut if same strings by
@dolmen
in stretchr/testify#1755- assert: faster and simpler isEmpty using reflect.Value.IsZero by
@dolmen
in stretchr/testify#1761- suite: faster methods filtering (internal refactor) by
@dolmen
in stretchr/testify#1758Fixes
- assert.ErrorAs: log target type by
@craig65535
in 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
@tsioftas
in stretchr/testify#1681- fix Subset/NotSubset when calling with mixed input types by
@siliconbrain
in stretchr/testify#1729- Improve ErrorAs failure message when error is nil by
@ccoVeille
in stretchr/testify#1734- mock.AssertNumberOfCalls: improve error msg by
@3scalation
in stretchr/testify#1743Documentation, Build & CI
- docs: Fix typo in README by
@alexandear
in stretchr/testify#1688- Replace deprecated io/ioutil with io and os by
@alexandear
in stretchr/testify#1684- Document consequences of calling t.FailNow() by
@greg0ire
in stretchr/testify#1710- chore: update docs for Unset #1621 by
@techfg
in stretchr/testify#1709- README: apply gofmt to examples by
@alexandear
in stretchr/testify#1687- refactor: use %q and %T to simplify fmt.Sprintf by
@alexandear
in stretchr/testify#1674- Propose Christophe Colombier (ccoVeille) as approver by
@brackendawson
in stretchr/testify#1716- Update documentation for the Error function in assert or require package by
@architagr
in stretchr/testify#1675- assert: remove deprecated build constraints by
@alexandear
in stretchr/testify#1671- assert: apply gofumpt to internal test suite by
@ccoVeille
in stretchr/testify#1739- CI: fix shebang in .ci.*.sh scripts by
@dolmen
in stretchr/testify#1746- assert,require: enable parallel testing on (almost) all top tests by
@dolmen
in stretchr/testify#1747- suite.Passed: add one more status test report by
@Ararsa-Derese
in stretchr/testify#1706- Add Helper() method in internal mocks and assert.CollectT by
@dolmen
in stretchr/testify#1423- assert.Same/NotSame: improve usage of Sprintf by
@ccoVeille
in stretchr/testify#1742- mock: enable parallel testing on internal testsuite by
@dolmen
in stretchr/testify#1756- suite: cleanup use of 'testing' internals at runtime by
@dolmen
in stretchr/testify#1751- assert: check test failure message for Empty and NotEmpty by
@ccoVeille
in stretchr/testify#1745
... (truncated)
Commits
2a57335
Merge pull request #1788 from brackendawson/1785-backport-1.11af8c912
Backport #1786 to release/1.11b7801fb
Merge pull request #1778 from stretchr/dependabot/github_actions/actions/chec...69831f3
build(deps): bump actions/checkout from 4 to 5a53be35
Improve captureTestingT helperaafb604
mock: improve formatting of error message7218e03
improve error msg929a212
Merge pull request #1758 from stretchr/dolmen/suite-faster-method-filteringbc7459e
suite: faster filtering of methods (-testify.m)7d37b5c
suite: 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 rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will 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 version
will 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 dependency
will 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
0
0
+0
-0
Package Dependencies
github.com/stretchr/testify
go
1.10.0 → 1.11.1
Minor
Technical Details
ID: | 6688944 |
UUID: | 3377569712 |
Node ID: | PR_kwDOFIhvoM6miVjC |
Host: | GitHub |
Repository: | percona/percona-postgresql-operator |