Commit c3ac76c
authored
fix(deps): Update module github.com/stretchr/testify to v1.10.0 (#1982)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/stretchr/testify](https://togithub.com/stretchr/testify) | require | minor | `v1.9.0` -> `v1.10.0` |
---
### Release Notes
<details>
<summary>stretchr/testify (github.com/stretchr/testify)</summary>
### [`v1.10.0`](https://togithub.com/stretchr/testify/releases/tag/v1.10.0)
[Compare Source](https://togithub.com/stretchr/testify/compare/v1.9.0...v1.10.0)
#### What's Changed
##### Functional Changes
- Add PanicAssertionFunc by [@​fahimbagar](https://togithub.com/fahimbagar) in [https://github.com/stretchr/testify/pull/1337](https://togithub.com/stretchr/testify/pull/1337)
- assert: deprecate CompareType by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1566](https://togithub.com/stretchr/testify/pull/1566)
- assert: make YAML dependency pluggable via build tags by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1579](https://togithub.com/stretchr/testify/pull/1579)
- assert: new assertion NotElementsMatch by [@​hendrywiranto](https://togithub.com/hendrywiranto) in [https://github.com/stretchr/testify/pull/1600](https://togithub.com/stretchr/testify/pull/1600)
- mock: in order mock calls by [@​ReyOrtiz](https://togithub.com/ReyOrtiz) in [https://github.com/stretchr/testify/pull/1637](https://togithub.com/stretchr/testify/pull/1637)
- Add assertion for NotErrorAs by [@​palsivertsen](https://togithub.com/palsivertsen) in [https://github.com/stretchr/testify/pull/1129](https://togithub.com/stretchr/testify/pull/1129)
- Record Return Arguments of a Call by [@​jayd3e](https://togithub.com/jayd3e) in [https://github.com/stretchr/testify/pull/1636](https://togithub.com/stretchr/testify/pull/1636)
- assert.EqualExportedValues: accepts everything by [@​redachl](https://togithub.com/redachl) in [https://github.com/stretchr/testify/pull/1586](https://togithub.com/stretchr/testify/pull/1586)
##### Fixes
- assert: make tHelper a type alias by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1562](https://togithub.com/stretchr/testify/pull/1562)
- Do not get argument again unnecessarily in Arguments.Error() by [@​TomWright](https://togithub.com/TomWright) in [https://github.com/stretchr/testify/pull/820](https://togithub.com/stretchr/testify/pull/820)
- Fix time.Time compare by [@​myxo](https://togithub.com/myxo) in [https://github.com/stretchr/testify/pull/1582](https://togithub.com/stretchr/testify/pull/1582)
- assert.Regexp: handle \[]byte array properly by [@​kevinburkesegment](https://togithub.com/kevinburkesegment) in [https://github.com/stretchr/testify/pull/1587](https://togithub.com/stretchr/testify/pull/1587)
- assert: collect.FailNow() should not panic by [@​marshall-lee](https://togithub.com/marshall-lee) in [https://github.com/stretchr/testify/pull/1481](https://togithub.com/stretchr/testify/pull/1481)
- mock: simplify implementation of FunctionalOptions by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1571](https://togithub.com/stretchr/testify/pull/1571)
- mock: caller information for unexpected method call by [@​spirin](https://togithub.com/spirin) in [https://github.com/stretchr/testify/pull/1644](https://togithub.com/stretchr/testify/pull/1644)
- suite: fix test failures by [@​stevenh](https://togithub.com/stevenh) in [https://github.com/stretchr/testify/pull/1421](https://togithub.com/stretchr/testify/pull/1421)
- Fix issue [#​1662](https://togithub.com/stretchr/testify/issues/1662) (comparing infs should fail) by [@​ybrustin](https://togithub.com/ybrustin) in [https://github.com/stretchr/testify/pull/1663](https://togithub.com/stretchr/testify/pull/1663)
- NotSame should fail if args are not pointers [#​1661](https://togithub.com/stretchr/testify/issues/1661) by [@​sikehish](https://togithub.com/sikehish) in [https://github.com/stretchr/testify/pull/1664](https://togithub.com/stretchr/testify/pull/1664)
- Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI by [@​sikehish](https://togithub.com/sikehish) in [https://github.com/stretchr/testify/pull/1667](https://togithub.com/stretchr/testify/pull/1667)
- fix: compare functional option names for indirect calls by [@​arjun-1](https://togithub.com/arjun-1) in [https://github.com/stretchr/testify/pull/1626](https://togithub.com/stretchr/testify/pull/1626)
##### Documantation, Build & CI
- .gitignore: ignore "go test -c" binaries by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1565](https://togithub.com/stretchr/testify/pull/1565)
- mock: improve doc by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1570](https://togithub.com/stretchr/testify/pull/1570)
- mock: fix FunctionalOptions docs by [@​snirye](https://togithub.com/snirye) in [https://github.com/stretchr/testify/pull/1433](https://togithub.com/stretchr/testify/pull/1433)
- README: link out to the excellent testifylint by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1568](https://togithub.com/stretchr/testify/pull/1568)
- assert: fix typo in comment by [@​JohnEndson](https://togithub.com/JohnEndson) in [https://github.com/stretchr/testify/pull/1580](https://togithub.com/stretchr/testify/pull/1580)
- Correct the EventuallyWithT and EventuallyWithTf example by [@​JonCrowther](https://togithub.com/JonCrowther) in [https://github.com/stretchr/testify/pull/1588](https://togithub.com/stretchr/testify/pull/1588)
- CI: bump softprops/action-gh-release from 1 to 2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/stretchr/testify/pull/1575](https://togithub.com/stretchr/testify/pull/1575)
- mock: document more alternatives to deprecated AnythingOfTypeArgument by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1569](https://togithub.com/stretchr/testify/pull/1569)
- assert: Correctly document EqualValues behavior by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1593](https://togithub.com/stretchr/testify/pull/1593)
- fix: grammar in godoc by [@​miparnisari](https://togithub.com/miparnisari) in [https://github.com/stretchr/testify/pull/1607](https://togithub.com/stretchr/testify/pull/1607)
- .github/workflows: Run tests for Go 1.22 by [@​HaraldNordgren](https://togithub.com/HaraldNordgren) in [https://github.com/stretchr/testify/pull/1629](https://togithub.com/stretchr/testify/pull/1629)
- Document suite's lack of support for t.Parallel by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1645](https://togithub.com/stretchr/testify/pull/1645)
- assert: fix typos in comments by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1650](https://togithub.com/stretchr/testify/pull/1650)
- mock: fix doc comment for NotBefore by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1651](https://togithub.com/stretchr/testify/pull/1651)
- Generate better comments for require package by [@​Neokil](https://togithub.com/Neokil) in [https://github.com/stretchr/testify/pull/1610](https://togithub.com/stretchr/testify/pull/1610)
- README: replace Testify V2 notice with [@​dolmen](https://togithub.com/dolmen)'s V2 manifesto by [@​hendrywiranto](https://togithub.com/hendrywiranto) in [https://github.com/stretchr/testify/pull/1518](https://togithub.com/stretchr/testify/pull/1518)
#### New Contributors
- [@​fahimbagar](https://togithub.com/fahimbagar) made their first contribution in [https://github.com/stretchr/testify/pull/1337](https://togithub.com/stretchr/testify/pull/1337)
- [@​TomWright](https://togithub.com/TomWright) made their first contribution in [https://github.com/stretchr/testify/pull/820](https://togithub.com/stretchr/testify/pull/820)
- [@​snirye](https://togithub.com/snirye) made their first contribution in [https://github.com/stretchr/testify/pull/1433](https://togithub.com/stretchr/testify/pull/1433)
- [@​myxo](https://togithub.com/myxo) made their first contribution in [https://github.com/stretchr/testify/pull/1582](https://togithub.com/stretchr/testify/pull/1582)
- [@​JohnEndson](https://togithub.com/JohnEndson) made their first contribution in [https://github.com/stretchr/testify/pull/1580](https://togithub.com/stretchr/testify/pull/1580)
- [@​JonCrowther](https://togithub.com/JonCrowther) made their first contribution in [https://github.com/stretchr/testify/pull/1588](https://togithub.com/stretchr/testify/pull/1588)
- [@​miparnisari](https://togithub.com/miparnisari) made their first contribution in [https://github.com/stretchr/testify/pull/1607](https://togithub.com/stretchr/testify/pull/1607)
- [@​marshall-lee](https://togithub.com/marshall-lee) made their first contribution in [https://github.com/stretchr/testify/pull/1481](https://togithub.com/stretchr/testify/pull/1481)
- [@​spirin](https://togithub.com/spirin) made their first contribution in [https://github.com/stretchr/testify/pull/1644](https://togithub.com/stretchr/testify/pull/1644)
- [@​ReyOrtiz](https://togithub.com/ReyOrtiz) made their first contribution in [https://github.com/stretchr/testify/pull/1637](https://togithub.com/stretchr/testify/pull/1637)
- [@​stevenh](https://togithub.com/stevenh) made their first contribution in [https://github.com/stretchr/testify/pull/1421](https://togithub.com/stretchr/testify/pull/1421)
- [@​jayd3e](https://togithub.com/jayd3e) made their first contribution in [https://github.com/stretchr/testify/pull/1636](https://togithub.com/stretchr/testify/pull/1636)
- [@​Neokil](https://togithub.com/Neokil) made their first contribution in [https://github.com/stretchr/testify/pull/1610](https://togithub.com/stretchr/testify/pull/1610)
- [@​redachl](https://togithub.com/redachl) made their first contribution in [https://github.com/stretchr/testify/pull/1586](https://togithub.com/stretchr/testify/pull/1586)
- [@​ybrustin](https://togithub.com/ybrustin) made their first contribution in [https://github.com/stretchr/testify/pull/1663](https://togithub.com/stretchr/testify/pull/1663)
- [@​sikehish](https://togithub.com/sikehish) made their first contribution in [https://github.com/stretchr/testify/pull/1664](https://togithub.com/stretchr/testify/pull/1664)
- [@​arjun-1](https://togithub.com/arjun-1) made their first contribution in [https://github.com/stretchr/testify/pull/1626](https://togithub.com/stretchr/testify/pull/1626)
**Full Changelog**: stretchr/testify@v1.9.0...v1.10.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), 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://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->1 parent 3894891 commit c3ac76c
4 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
| 144 | + | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
| 146 | + | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments