Skip to content

Commit

Permalink
Update module github.com/stretchr/testify to v1.10.0 (#281)
Browse files Browse the repository at this point in the history
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
[@&#8203;fahimbagar](https://togithub.com/fahimbagar) in
[https://github.com/stretchr/testify/pull/1337](https://togithub.com/stretchr/testify/pull/1337)
- assert: deprecate CompareType by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;stevenh](https://togithub.com/stevenh) in
[https://github.com/stretchr/testify/pull/1421](https://togithub.com/stretchr/testify/pull/1421)
- Fix issue
[#&#8203;1662](https://togithub.com/stretchr/testify/issues/1662)
(comparing infs should fail) by
[@&#8203;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
[#&#8203;1661](https://togithub.com/stretchr/testify/issues/1661) by
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;dolmen](https://togithub.com/dolmen) in
[https://github.com/stretchr/testify/pull/1565](https://togithub.com/stretchr/testify/pull/1565)
- mock: improve doc by [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;dolmen](https://togithub.com/dolmen)'s V2 manifesto by
[@&#8203;hendrywiranto](https://togithub.com/hendrywiranto) in
[https://github.com/stretchr/testify/pull/1518](https://togithub.com/stretchr/testify/pull/1518)

#### New Contributors

- [@&#8203;fahimbagar](https://togithub.com/fahimbagar) made their first
contribution in
[https://github.com/stretchr/testify/pull/1337](https://togithub.com/stretchr/testify/pull/1337)
- [@&#8203;TomWright](https://togithub.com/TomWright) made their first
contribution in
[https://github.com/stretchr/testify/pull/820](https://togithub.com/stretchr/testify/pull/820)
- [@&#8203;snirye](https://togithub.com/snirye) made their first
contribution in
[https://github.com/stretchr/testify/pull/1433](https://togithub.com/stretchr/testify/pull/1433)
- [@&#8203;myxo](https://togithub.com/myxo) made their first
contribution in
[https://github.com/stretchr/testify/pull/1582](https://togithub.com/stretchr/testify/pull/1582)
- [@&#8203;JohnEndson](https://togithub.com/JohnEndson) made their first
contribution in
[https://github.com/stretchr/testify/pull/1580](https://togithub.com/stretchr/testify/pull/1580)
- [@&#8203;JonCrowther](https://togithub.com/JonCrowther) made their
first contribution in
[https://github.com/stretchr/testify/pull/1588](https://togithub.com/stretchr/testify/pull/1588)
- [@&#8203;miparnisari](https://togithub.com/miparnisari) made their
first contribution in
[https://github.com/stretchr/testify/pull/1607](https://togithub.com/stretchr/testify/pull/1607)
- [@&#8203;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)
- [@&#8203;spirin](https://togithub.com/spirin) made their first
contribution in
[https://github.com/stretchr/testify/pull/1644](https://togithub.com/stretchr/testify/pull/1644)
- [@&#8203;ReyOrtiz](https://togithub.com/ReyOrtiz) made their first
contribution in
[https://github.com/stretchr/testify/pull/1637](https://togithub.com/stretchr/testify/pull/1637)
- [@&#8203;stevenh](https://togithub.com/stevenh) made their first
contribution in
[https://github.com/stretchr/testify/pull/1421](https://togithub.com/stretchr/testify/pull/1421)
- [@&#8203;jayd3e](https://togithub.com/jayd3e) made their first
contribution in
[https://github.com/stretchr/testify/pull/1636](https://togithub.com/stretchr/testify/pull/1636)
- [@&#8203;Neokil](https://togithub.com/Neokil) made their first
contribution in
[https://github.com/stretchr/testify/pull/1610](https://togithub.com/stretchr/testify/pull/1610)
- [@&#8203;redachl](https://togithub.com/redachl) made their first
contribution in
[https://github.com/stretchr/testify/pull/1586](https://togithub.com/stretchr/testify/pull/1586)
- [@&#8203;ybrustin](https://togithub.com/ybrustin) made their first
contribution in
[https://github.com/stretchr/testify/pull/1663](https://togithub.com/stretchr/testify/pull/1663)
- [@&#8203;sikehish](https://togithub.com/sikehish) made their first
contribution in
[https://github.com/stretchr/testify/pull/1664](https://togithub.com/stretchr/testify/pull/1664)
- [@&#8203;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 - 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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
  • Loading branch information
elastic-renovate-prod[bot] authored Dec 2, 2024
1 parent 7d1bb9f commit 56f560d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/ghodss/yaml v1.0.0
github.com/google/go-cmp v0.6.0
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
golang.org/x/text v0.20.0
k8s.io/api v0.31.3
k8s.io/apimachinery v0.31.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ=
Expand Down

0 comments on commit 56f560d

Please sign in to comment.