Skip to content

Commit 50d6577

Browse files
fix(deps): update module github.com/stretchr/testify to v1.11.0 (#163)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/stretchr/testify](https://redirect.github.com/stretchr/testify) | require | minor | `v1.10.0` -> `v1.11.0` | --- ### Release Notes <details> <summary>stretchr/testify (github.com/stretchr/testify)</summary> ### [`v1.11.0`](https://redirect.github.com/stretchr/testify/releases/tag/v1.11.0) [Compare Source](https://redirect.github.com/stretchr/testify/compare/v1.10.0...v1.11.0) #### What's Changed ##### Functional Changes v1.11.0 Includes a number of performance improvements. - Call stack perf change for CallerInfo by [@&#8203;mikeauclair](https://redirect.github.com/mikeauclair) in [https://github.com/stretchr/testify/pull/1614](https://redirect.github.com/stretchr/testify/pull/1614) - Lazily render mock diff output on successful match by [@&#8203;mikeauclair](https://redirect.github.com/mikeauclair) in [https://github.com/stretchr/testify/pull/1615](https://redirect.github.com/stretchr/testify/pull/1615) - assert: check early in Eventually, EventuallyWithT, and Never by [@&#8203;cszczepaniak](https://redirect.github.com/cszczepaniak) in [https://github.com/stretchr/testify/pull/1427](https://redirect.github.com/stretchr/testify/pull/1427) - assert: add IsNotType by [@&#8203;bartventer](https://redirect.github.com/bartventer) in [https://github.com/stretchr/testify/pull/1730](https://redirect.github.com/stretchr/testify/pull/1730) - assert.JSONEq: shortcut if same strings by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1754](https://redirect.github.com/stretchr/testify/pull/1754) - assert.YAMLEq: shortcut if same strings by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1755](https://redirect.github.com/stretchr/testify/pull/1755) - assert: faster and simpler isEmpty using reflect.Value.IsZero by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1761](https://redirect.github.com/stretchr/testify/pull/1761) - suite: faster methods filtering (internal refactor) by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1758](https://redirect.github.com/stretchr/testify/pull/1758) ##### Fixes - assert.ErrorAs: log target type by [@&#8203;craig65535](https://redirect.github.com/craig65535) in [https://github.com/stretchr/testify/pull/1345](https://redirect.github.com/stretchr/testify/pull/1345) - Fix failure message formatting for Positive and Negative asserts in [https://github.com/stretchr/testify/pull/1062](https://redirect.github.com/stretchr/testify/pull/1062) - Improve ErrorIs message when error is nil but an error was expected by [@&#8203;tsioftas](https://redirect.github.com/tsioftas) in [https://github.com/stretchr/testify/pull/1681](https://redirect.github.com/stretchr/testify/pull/1681) - fix Subset/NotSubset when calling with mixed input types by [@&#8203;siliconbrain](https://redirect.github.com/siliconbrain) in [https://github.com/stretchr/testify/pull/1729](https://redirect.github.com/stretchr/testify/pull/1729) - Improve ErrorAs failure message when error is nil by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1734](https://redirect.github.com/stretchr/testify/pull/1734) - mock.AssertNumberOfCalls: improve error msg by [@&#8203;3scalation](https://redirect.github.com/3scalation) in [https://github.com/stretchr/testify/pull/1743](https://redirect.github.com/stretchr/testify/pull/1743) ##### Documentation, Build & CI - docs: Fix typo in README by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [https://github.com/stretchr/testify/pull/1688](https://redirect.github.com/stretchr/testify/pull/1688) - Replace deprecated io/ioutil with io and os by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [https://github.com/stretchr/testify/pull/1684](https://redirect.github.com/stretchr/testify/pull/1684) - Document consequences of calling t.FailNow() by [@&#8203;greg0ire](https://redirect.github.com/greg0ire) in [https://github.com/stretchr/testify/pull/1710](https://redirect.github.com/stretchr/testify/pull/1710) - chore: update docs for Unset [#&#8203;1621](https://redirect.github.com/stretchr/testify/issues/1621) by [@&#8203;techfg](https://redirect.github.com/techfg) in [https://github.com/stretchr/testify/pull/1709](https://redirect.github.com/stretchr/testify/pull/1709) - README: apply gofmt to examples by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [https://github.com/stretchr/testify/pull/1687](https://redirect.github.com/stretchr/testify/pull/1687) - refactor: use %q and %T to simplify fmt.Sprintf by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [https://github.com/stretchr/testify/pull/1674](https://redirect.github.com/stretchr/testify/pull/1674) - Propose Christophe Colombier (ccoVeille) as approver by [@&#8203;brackendawson](https://redirect.github.com/brackendawson) in [https://github.com/stretchr/testify/pull/1716](https://redirect.github.com/stretchr/testify/pull/1716) - Update documentation for the Error function in assert or require package by [@&#8203;architagr](https://redirect.github.com/architagr) in [https://github.com/stretchr/testify/pull/1675](https://redirect.github.com/stretchr/testify/pull/1675) - assert: remove deprecated build constraints by [@&#8203;alexandear](https://redirect.github.com/alexandear) in [https://github.com/stretchr/testify/pull/1671](https://redirect.github.com/stretchr/testify/pull/1671) - assert: apply gofumpt to internal test suite by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1739](https://redirect.github.com/stretchr/testify/pull/1739) - CI: fix shebang in .ci.\*.sh scripts by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1746](https://redirect.github.com/stretchr/testify/pull/1746) - assert,require: enable parallel testing on (almost) all top tests by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1747](https://redirect.github.com/stretchr/testify/pull/1747) - suite.Passed: add one more status test report by [@&#8203;Ararsa-Derese](https://redirect.github.com/Ararsa-Derese) in [https://github.com/stretchr/testify/pull/1706](https://redirect.github.com/stretchr/testify/pull/1706) - Add Helper() method in internal mocks and assert.CollectT by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1423](https://redirect.github.com/stretchr/testify/pull/1423) - assert.Same/NotSame: improve usage of Sprintf by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1742](https://redirect.github.com/stretchr/testify/pull/1742) - mock: enable parallel testing on internal testsuite by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1756](https://redirect.github.com/stretchr/testify/pull/1756) - suite: cleanup use of 'testing' internals at runtime by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1751](https://redirect.github.com/stretchr/testify/pull/1751) - assert: check test failure message for Empty and NotEmpty by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1745](https://redirect.github.com/stretchr/testify/pull/1745) - deps: fix dependency cycle with objx (again) by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1567](https://redirect.github.com/stretchr/testify/pull/1567) - assert.Empty: comprehensive doc of "Empty"-ness rules by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1753](https://redirect.github.com/stretchr/testify/pull/1753) - doc: improve godoc of top level 'testify' package by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1760](https://redirect.github.com/stretchr/testify/pull/1760) - assert.ErrorAs: simplify retrieving the type name by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1740](https://redirect.github.com/stretchr/testify/pull/1740) - assert.EqualValues: improve test coverage to 100% by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1763](https://redirect.github.com/stretchr/testify/pull/1763) - suite.Run: simplify running of Setup/TeardownSuite by [@&#8203;renzoarreaza](https://redirect.github.com/renzoarreaza) in [https://github.com/stretchr/testify/pull/1769](https://redirect.github.com/stretchr/testify/pull/1769) - assert.CallerInfo: micro optimization by using LastIndexByte by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1767](https://redirect.github.com/stretchr/testify/pull/1767) - assert.CallerInfo: micro cleanup by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1768](https://redirect.github.com/stretchr/testify/pull/1768) - assert: refactor Test*FileExists and Test*DirExists tests to enable parallel testing by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1766](https://redirect.github.com/stretchr/testify/pull/1766) - suite.Run: refactor handling of stats for improved readability by [@&#8203;dolmen](https://redirect.github.com/dolmen) in [https://github.com/stretchr/testify/pull/1764](https://redirect.github.com/stretchr/testify/pull/1764) - tests: improve captureTestingT helper by [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1741](https://redirect.github.com/stretchr/testify/pull/1741) - build(deps): bump actions/checkout from 4 to 5 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/stretchr/testify/pull/1778](https://redirect.github.com/stretchr/testify/pull/1778)8 #### New Contributors - [@&#8203;greg0ire](https://redirect.github.com/greg0ire) made their first contribution in [https://github.com/stretchr/testify/pull/1710](https://redirect.github.com/stretchr/testify/pull/1710) - [@&#8203;techfg](https://redirect.github.com/techfg) made their first contribution in [https://github.com/stretchr/testify/pull/1709](https://redirect.github.com/stretchr/testify/pull/1709) - [@&#8203;mikeauclair](https://redirect.github.com/mikeauclair) made their first contribution in [https://github.com/stretchr/testify/pull/1614](https://redirect.github.com/stretchr/testify/pull/1614) - [@&#8203;cszczepaniak](https://redirect.github.com/cszczepaniak) made their first contribution in [https://github.com/stretchr/testify/pull/1427](https://redirect.github.com/stretchr/testify/pull/1427) - [@&#8203;architagr](https://redirect.github.com/architagr) made their first contribution in [https://github.com/stretchr/testify/pull/1675](https://redirect.github.com/stretchr/testify/pull/1675) - [@&#8203;tsioftas](https://redirect.github.com/tsioftas) made their first contribution in [https://github.com/stretchr/testify/pull/1681](https://redirect.github.com/stretchr/testify/pull/1681) - [@&#8203;siliconbrain](https://redirect.github.com/siliconbrain) made their first contribution in [https://github.com/stretchr/testify/pull/1729](https://redirect.github.com/stretchr/testify/pull/1729) - [@&#8203;bartventer](https://redirect.github.com/bartventer) made their first contribution in [https://github.com/stretchr/testify/pull/1730](https://redirect.github.com/stretchr/testify/pull/1730) - [@&#8203;Ararsa-Derese](https://redirect.github.com/Ararsa-Derese) made their first contribution in [https://github.com/stretchr/testify/pull/1706](https://redirect.github.com/stretchr/testify/pull/1706) - [@&#8203;renzoarreaza](https://redirect.github.com/renzoarreaza) made their first contribution in [https://github.com/stretchr/testify/pull/1769](https://redirect.github.com/stretchr/testify/pull/1769) - [@&#8203;3scalation](https://redirect.github.com/3scalation) made their first contribution in [https://github.com/stretchr/testify/pull/1743](https://redirect.github.com/stretchr/testify/pull/1743) **Full Changelog**: stretchr/testify@v1.10.0...v1.11.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4wLjAiLCJ1cGRhdGVkSW5WZXIiOiI0MS4wLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Co-authored-by: cgrindel-self-hosted-renovate[bot] <139595543+cgrindel-self-hosted-renovate[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 1dd94a6 commit 50d6577

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44
1313
github.com/creasty/defaults v1.8.0
1414
github.com/deckarep/golang-set/v2 v2.8.0
15-
github.com/stretchr/testify v1.10.0
15+
github.com/stretchr/testify v1.11.0
1616
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b
1717
golang.org/x/text v0.28.0
1818
gopkg.in/yaml.v3 v3.0.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
1616
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
1717
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1818
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
19-
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
20-
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
19+
github.com/stretchr/testify v1.11.0 h1:ib4sjIrwZKxE5u/Japgo/7SJV3PvgjGiRNAvTVGqQl8=
20+
github.com/stretchr/testify v1.11.0/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
2121
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b h1:DXr+pvt3nC887026GRP39Ej11UATqWDmWuS99x26cD0=
2222
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b/go.mod h1:4QTo5u+SEIbbKW1RacMZq1YEfOBqeXa19JeshGi+zc4=
2323
golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ=

0 commit comments

Comments
 (0)