fix(deps): update module github.com/stretchr/testify to v1.11.1 #51

Merged
GregoryDosh merged 1 commit from renovate/github.com-stretchr-testify-1.x into main 2025-08-28 00:33:41 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/stretchr/testify v1.10.0 -> v1.11.1 age adoption passing confidence

Release Notes

stretchr/testify (github.com/stretchr/testify)

v1.11.1

Compare Source

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

Full Changelog: https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1

v1.11.0

Compare Source

What's Changed

Functional Changes

v1.11.0 Includes a number of performance improvements.

Fixes
Documentation, Build & CI

New Contributors

Full Changelog: https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/stretchr/testify](https://github.com/stretchr/testify) | `v1.10.0` -> `v1.11.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fstretchr%2ftestify/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fstretchr%2ftestify/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fstretchr%2ftestify/v1.10.0/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fstretchr%2ftestify/v1.10.0/v1.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>stretchr/testify (github.com/stretchr/testify)</summary> ### [`v1.11.1`](https://github.com/stretchr/testify/releases/tag/v1.11.1) [Compare Source](https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1) This release fixes [#&#8203;1785](https://github.com/stretchr/testify/issues/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 [#&#8203;1786](https://github.com/stretchr/testify/issues/1786) to release/1.11: mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by [@&#8203;brackendawson](https://github.com/brackendawson) in https://github.com/stretchr/testify/pull/1788 **Full Changelog**: https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1 ### [`v1.11.0`](https://github.com/stretchr/testify/releases/tag/v1.11.0) [Compare Source](https://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://github.com/mikeauclair) in https://github.com/stretchr/testify/pull/1614 - Lazily render mock diff output on successful match by [@&#8203;mikeauclair](https://github.com/mikeauclair) in https://github.com/stretchr/testify/pull/1615 - assert: check early in Eventually, EventuallyWithT, and Never by [@&#8203;cszczepaniak](https://github.com/cszczepaniak) in https://github.com/stretchr/testify/pull/1427 - assert: add IsNotType by [@&#8203;bartventer](https://github.com/bartventer) in https://github.com/stretchr/testify/pull/1730 - assert.JSONEq: shortcut if same strings by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1754 - assert.YAMLEq: shortcut if same strings by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1755 - assert: faster and simpler isEmpty using reflect.Value.IsZero by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1761 - suite: faster methods filtering (internal refactor) by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1758 ##### Fixes - assert.ErrorAs: log target type by [@&#8203;craig65535](https://github.com/craig65535) in https://github.com/stretchr/testify/pull/1345 - Fix failure message formatting for Positive and Negative asserts in https://github.com/stretchr/testify/pull/1062 - Improve ErrorIs message when error is nil but an error was expected by [@&#8203;tsioftas](https://github.com/tsioftas) in https://github.com/stretchr/testify/pull/1681 - fix Subset/NotSubset when calling with mixed input types by [@&#8203;siliconbrain](https://github.com/siliconbrain) in https://github.com/stretchr/testify/pull/1729 - Improve ErrorAs failure message when error is nil by [@&#8203;ccoVeille](https://github.com/ccoVeille) in https://github.com/stretchr/testify/pull/1734 - mock.AssertNumberOfCalls: improve error msg by [@&#8203;3scalation](https://github.com/3scalation) in https://github.com/stretchr/testify/pull/1743 ##### Documentation, Build & CI - docs: Fix typo in README by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/stretchr/testify/pull/1688 - Replace deprecated io/ioutil with io and os by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/stretchr/testify/pull/1684 - Document consequences of calling t.FailNow() by [@&#8203;greg0ire](https://github.com/greg0ire) in https://github.com/stretchr/testify/pull/1710 - chore: update docs for Unset [#&#8203;1621](https://github.com/stretchr/testify/issues/1621) by [@&#8203;techfg](https://github.com/techfg) in https://github.com/stretchr/testify/pull/1709 - README: apply gofmt to examples by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/stretchr/testify/pull/1687 - refactor: use %q and %T to simplify fmt.Sprintf by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/stretchr/testify/pull/1674 - Propose Christophe Colombier (ccoVeille) as approver by [@&#8203;brackendawson](https://github.com/brackendawson) in https://github.com/stretchr/testify/pull/1716 - Update documentation for the Error function in assert or require package by [@&#8203;architagr](https://github.com/architagr) in https://github.com/stretchr/testify/pull/1675 - assert: remove deprecated build constraints by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/stretchr/testify/pull/1671 - assert: apply gofumpt to internal test suite by [@&#8203;ccoVeille](https://github.com/ccoVeille) in https://github.com/stretchr/testify/pull/1739 - CI: fix shebang in .ci.\*.sh scripts by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1746 - assert,require: enable parallel testing on (almost) all top tests by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1747 - suite.Passed: add one more status test report by [@&#8203;Ararsa-Derese](https://github.com/Ararsa-Derese) in https://github.com/stretchr/testify/pull/1706 - Add Helper() method in internal mocks and assert.CollectT by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1423 - assert.Same/NotSame: improve usage of Sprintf by [@&#8203;ccoVeille](https://github.com/ccoVeille) in https://github.com/stretchr/testify/pull/1742 - mock: enable parallel testing on internal testsuite by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1756 - suite: cleanup use of 'testing' internals at runtime by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1751 - assert: check test failure message for Empty and NotEmpty by [@&#8203;ccoVeille](https://github.com/ccoVeille) in https://github.com/stretchr/testify/pull/1745 - deps: fix dependency cycle with objx (again) by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1567 - assert.Empty: comprehensive doc of "Empty"-ness rules by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1753 - doc: improve godoc of top level 'testify' package by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1760 - assert.ErrorAs: simplify retrieving the type name by [@&#8203;ccoVeille](https://github.com/ccoVeille) in https://github.com/stretchr/testify/pull/1740 - assert.EqualValues: improve test coverage to 100% by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1763 - suite.Run: simplify running of Setup/TeardownSuite by [@&#8203;renzoarreaza](https://github.com/renzoarreaza) in https://github.com/stretchr/testify/pull/1769 - assert.CallerInfo: micro optimization by using LastIndexByte by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1767 - assert.CallerInfo: micro cleanup by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1768 - assert: refactor Test*FileExists and Test*DirExists tests to enable parallel testing by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1766 - suite.Run: refactor handling of stats for improved readability by [@&#8203;dolmen](https://github.com/dolmen) in https://github.com/stretchr/testify/pull/1764 - tests: improve captureTestingT helper by [@&#8203;ccoVeille](https://github.com/ccoVeille) in https://github.com/stretchr/testify/pull/1741 - build(deps): bump actions/checkout from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in https://github.com/stretchr/testify/pull/1778 #### New Contributors - [@&#8203;greg0ire](https://github.com/greg0ire) made their first contribution in https://github.com/stretchr/testify/pull/1710 - [@&#8203;techfg](https://github.com/techfg) made their first contribution in https://github.com/stretchr/testify/pull/1709 - [@&#8203;mikeauclair](https://github.com/mikeauclair) made their first contribution in https://github.com/stretchr/testify/pull/1614 - [@&#8203;cszczepaniak](https://github.com/cszczepaniak) made their first contribution in https://github.com/stretchr/testify/pull/1427 - [@&#8203;architagr](https://github.com/architagr) made their first contribution in https://github.com/stretchr/testify/pull/1675 - [@&#8203;tsioftas](https://github.com/tsioftas) made their first contribution in https://github.com/stretchr/testify/pull/1681 - [@&#8203;siliconbrain](https://github.com/siliconbrain) made their first contribution in https://github.com/stretchr/testify/pull/1729 - [@&#8203;bartventer](https://github.com/bartventer) made their first contribution in https://github.com/stretchr/testify/pull/1730 - [@&#8203;Ararsa-Derese](https://github.com/Ararsa-Derese) made their first contribution in https://github.com/stretchr/testify/pull/1706 - [@&#8203;renzoarreaza](https://github.com/renzoarreaza) made their first contribution in https://github.com/stretchr/testify/pull/1769 - [@&#8203;3scalation](https://github.com/3scalation) made their first contribution in https://github.com/stretchr/testify/pull/1743 **Full Changelog**: https://github.com/stretchr/testify/compare/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**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS41OC4wIiwidXBkYXRlZEluVmVyIjoiNDEuNTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
svc-renovate-bot force-pushed renovate/github.com-stretchr-testify-1.x from 911357f5b0
All checks were successful
Build Module / Build Module (pull_request) Successful in 5m44s
to a96cbc84b4
All checks were successful
Build Module / Build Module (pull_request) Successful in 2m49s
2025-08-27 12:50:53 +00:00
Compare
svc-renovate-bot changed title from fix(deps): update module github.com/stretchr/testify to v1.11.0 to fix(deps): update module github.com/stretchr/testify to v1.11.1 2025-08-27 12:50:53 +00:00
GregoryDosh deleted branch renovate/github.com-stretchr-testify-1.x 2025-08-28 00:33:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GregoryDosh/pam_ussh!51
No description provided.