Skip to content

Commit

Permalink
Update module github.com/stretchr/testify to v1.9.0 (#9695)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/stretchr/testify](https://togithub.com/stretchr/testify) |
`v1.8.4` -> `v1.9.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fstretchr%2ftestify/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fstretchr%2ftestify/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fstretchr%2ftestify/v1.8.4/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fstretchr%2ftestify/v1.8.4/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>stretchr/testify (github.com/stretchr/testify)</summary>

###
[`v1.9.0`](https://togithub.com/stretchr/testify/releases/tag/v1.9.0)

[Compare
Source](https://togithub.com/stretchr/testify/compare/v1.8.4...v1.9.0)

#### What's Changed

- Fix Go modules version by
[@&#8203;SuperQ](https://togithub.com/SuperQ) in
[stretchr/testify#1394
- Document that require is not safe to call in created goroutines by
[@&#8203;programmer04](https://togithub.com/programmer04) in
[stretchr/testify#1392
- Remove myself from MAINTAINERS.md by
[@&#8203;mvdkleijn](https://togithub.com/mvdkleijn) in
[stretchr/testify#1367
- Correct spelling/grammar by
[@&#8203;echarrod](https://togithub.com/echarrod) in
[stretchr/testify#1389
- docs: Update URLs in README by
[@&#8203;davidjb](https://togithub.com/davidjb) in
[stretchr/testify#1349
- Update mockery link to Github Pages in README by
[@&#8203;LandonTClipp](https://togithub.com/LandonTClipp) in
[stretchr/testify#1346
- docs: Fix typos in tests and comments by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[stretchr/testify#1410
- CI: tests from go1.17 by [@&#8203;SuperQ](https://togithub.com/SuperQ)
in
[stretchr/testify#1409
- Fix adding ? when no values passed by
[@&#8203;lesichkovm](https://togithub.com/lesichkovm) in
[stretchr/testify#1320
- codegen: use standard header for generated files by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1406
- mock: AssertExpectations log reason only on failure by
[@&#8203;hikyaru-suzuki](https://togithub.com/hikyaru-suzuki) in
[stretchr/testify#1360
- assert: fix flaky TestNeverTrue by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1417
- README: fix typos "set up" vs "setup" by
[@&#8203;ossan-dev](https://togithub.com/ossan-dev) in
[stretchr/testify#1428
- mock: move regexp compilation outside of `Called` by
[@&#8203;aud10slave](https://togithub.com/aud10slave) in
[stretchr/testify#631
- assert: refactor internal func getLen() by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1445
- mock: deprecate type AnythingOfTypeArgument
([#&#8203;1434](https://togithub.com/stretchr/testify/issues/1434)) by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1441
- Remove no longer needed assert.canConvert by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[stretchr/testify#1470
- assert: ObjectsAreEqual: use time.Equal for time.Time types by
[@&#8203;tscales](https://togithub.com/tscales) in
[stretchr/testify#1464
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[stretchr/testify#1466
- Bump actions/setup-go from 3.2.0 to 4.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[stretchr/testify#1451
- fix: make EventuallyWithT concurrency safe by
[@&#8203;czeslavo](https://togithub.com/czeslavo) in
[stretchr/testify#1395
- assert: fix httpCode and HTTPBody occur panic when http.Handler read
Body by [@&#8203;hidu](https://togithub.com/hidu) in
[stretchr/testify#1484
- assert.EqualExportedValues: fix handling of arrays by
[@&#8203;zrbecker](https://togithub.com/zrbecker) in
[stretchr/testify#1473
- .github: use latest Go versions by
[@&#8203;kevinburkesegment](https://togithub.com/kevinburkesegment) in
[stretchr/testify#1489
- assert: Deprecate EqualExportedValues by
[@&#8203;HaraldNordgren](https://togithub.com/HaraldNordgren) in
[stretchr/testify#1488
- suite: refactor test assertions by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[stretchr/testify#1474
- suite: fix SetupSubTest and TearDownSubTest execution order by
[@&#8203;linusbarth](https://togithub.com/linusbarth) in
[stretchr/testify#1471
- docs: Fix deprecation comments for http package by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[stretchr/testify#1335
- Add map support doc comments to Subset and NotSubset by
[@&#8203;jedevc](https://togithub.com/jedevc) in
[stretchr/testify#1306
- TestErrorIs/TestNotErrorIs: check error message contents by
[@&#8203;craig65535](https://togithub.com/craig65535) in
[stretchr/testify#1435
- suite: fix subtest names (fix
[#&#8203;1501](https://togithub.com/stretchr/testify/issues/1501)) by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1504
- assert: improve unsafe.Pointer tests by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1505
- assert: simplify isNil implementation by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1506
- assert.InEpsilonSlice: fix expected/actual order and other
improvements by [@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1483
- Fix dependency cycle with objx
[#&#8203;1292](https://togithub.com/stretchr/testify/issues/1292) by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1453
- mock: refactor TestIsArgsEqual by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1444
- mock: optimize argument matching checks by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1416
- assert: fix TestEventuallyTimeout by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1412
- CI: add go 1.21 in GitHub Actions by
[@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1450
- suite: fix recoverAndFailOnPanic to report test failure at the right
location by [@&#8203;dolmen](https://togithub.com/dolmen) in
[stretchr/testify#1502
- Update maintainers by
[@&#8203;brackendawson](https://togithub.com/brackendawson) in
[stretchr/testify#1533
- assert: Fix EqualValues to handle overflow/underflow by
[@&#8203;arjunmahishi](https://togithub.com/arjunmahishi) in
[stretchr/testify#1531
- assert: better formatting for Len() error by
[@&#8203;kevinburkesegment](https://togithub.com/kevinburkesegment) in
[stretchr/testify#1485
- Ensure AssertExpectations does not fail in skipped tests by
[@&#8203;ianrose14](https://togithub.com/ianrose14) in
[stretchr/testify#1331
- suite: fix deadlock in suite.Require()/Assert() by
[@&#8203;arjunmahishi](https://togithub.com/arjunmahishi) in
[stretchr/testify#1535
- Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by
[@&#8203;brackendawson](https://togithub.com/brackendawson) in
[stretchr/testify#1537
- \[chore] Add issue templates by
[@&#8203;arjunmahishi](https://togithub.com/arjunmahishi) in
[stretchr/testify#1538
- Update the build status badge by
[@&#8203;brackendawson](https://togithub.com/brackendawson) in
[stretchr/testify#1540
- Update Github workflows setup-go to V5 by
[@&#8203;hendrywiranto](https://togithub.com/hendrywiranto) in
[stretchr/testify#1545
- Support Pointer to Struct in EqualExportedValues by
[@&#8203;Lucaber](https://togithub.com/Lucaber) in
[stretchr/testify#1517
- README: drop link to gorc by
[@&#8203;guettli](https://togithub.com/guettli) in
[stretchr/testify#1248
- http_assertions: honour the msgAndArgs provided with each assertion by
[@&#8203;arjunmahishi](https://togithub.com/arjunmahishi) in
[stretchr/testify#1548
- fix typos in comments and tests by
[@&#8203;ccoVeille](https://togithub.com/ccoVeille) in
[stretchr/testify#1247
- Include the auto-release notes in releases by
[@&#8203;brackendawson](https://togithub.com/brackendawson) in
[stretchr/testify#1550
- Add `NotImplements` and variants by
[@&#8203;hslatman](https://togithub.com/hslatman) in
[stretchr/testify#1385
- Add support to compare uintptr by
[@&#8203;bogdandrutu](https://togithub.com/bogdandrutu) in
[stretchr/testify#1339
- build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[stretchr/testify#1552

#### New Contributors

- [@&#8203;SuperQ](https://togithub.com/SuperQ) made their first
contribution in
[stretchr/testify#1394
- [@&#8203;programmer04](https://togithub.com/programmer04) made their
first contribution in
[stretchr/testify#1392
- [@&#8203;echarrod](https://togithub.com/echarrod) made their first
contribution in
[stretchr/testify#1389
- [@&#8203;davidjb](https://togithub.com/davidjb) made their first
contribution in
[stretchr/testify#1349
- [@&#8203;LandonTClipp](https://togithub.com/LandonTClipp) made their
first contribution in
[stretchr/testify#1346
- [@&#8203;alexandear](https://togithub.com/alexandear) made their first
contribution in
[stretchr/testify#1410
- [@&#8203;lesichkovm](https://togithub.com/lesichkovm) made their first
contribution in
[stretchr/testify#1320
- [@&#8203;dolmen](https://togithub.com/dolmen) made their first
contribution in
[stretchr/testify#1406
- [@&#8203;hikyaru-suzuki](https://togithub.com/hikyaru-suzuki) made
their first contribution in
[stretchr/testify#1360
- [@&#8203;ossan-dev](https://togithub.com/ossan-dev) made their first
contribution in
[stretchr/testify#1428
- [@&#8203;aud10slave](https://togithub.com/aud10slave) made their first
contribution in
[stretchr/testify#631
- [@&#8203;tscales](https://togithub.com/tscales) made their first
contribution in
[stretchr/testify#1464
- [@&#8203;czeslavo](https://togithub.com/czeslavo) made their first
contribution in
[stretchr/testify#1395
- [@&#8203;hidu](https://togithub.com/hidu) made their first
contribution in
[stretchr/testify#1484
- [@&#8203;zrbecker](https://togithub.com/zrbecker) made their first
contribution in
[stretchr/testify#1473
- [@&#8203;kevinburkesegment](https://togithub.com/kevinburkesegment)
made their first contribution in
[stretchr/testify#1489
- [@&#8203;linusbarth](https://togithub.com/linusbarth) made their first
contribution in
[stretchr/testify#1471
- [@&#8203;jedevc](https://togithub.com/jedevc) made their first
contribution in
[stretchr/testify#1306
- [@&#8203;craig65535](https://togithub.com/craig65535) made their first
contribution in
[stretchr/testify#1435
- [@&#8203;arjunmahishi](https://togithub.com/arjunmahishi) made their
first contribution in
[stretchr/testify#1531
- [@&#8203;ianrose14](https://togithub.com/ianrose14) made their first
contribution in
[stretchr/testify#1331
- [@&#8203;hendrywiranto](https://togithub.com/hendrywiranto) made their
first contribution in
[stretchr/testify#1545
- [@&#8203;Lucaber](https://togithub.com/Lucaber) made their first
contribution in
[stretchr/testify#1517
- [@&#8203;guettli](https://togithub.com/guettli) made their first
contribution in
[stretchr/testify#1248
- [@&#8203;ccoVeille](https://togithub.com/ccoVeille) made their first
contribution in
[stretchr/testify#1247
- [@&#8203;hslatman](https://togithub.com/hslatman) made their first
contribution in
[stretchr/testify#1385
- [@&#8203;bogdandrutu](https://togithub.com/bogdandrutu) made their
first contribution in
[stretchr/testify#1339

**Full Changelog**:
stretchr/testify@v1.8.4...v1.9.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
  • Loading branch information
renovate[bot] and opentelemetrybot committed Mar 5, 2024
1 parent af7664a commit 5481440
Show file tree
Hide file tree
Showing 92 changed files with 138 additions and 131 deletions.
2 changes: 1 addition & 1 deletion cmd/builder/go.mod
Expand Up @@ -14,7 +14,7 @@ require (
github.com/knadh/koanf/v2 v2.1.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
Expand Down
4 changes: 2 additions & 2 deletions cmd/builder/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/mdatagen/go.mod
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/google/go-cmp v0.6.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.96.0
go.opentelemetry.io/collector/confmap v0.96.0
go.opentelemetry.io/collector/confmap/provider/fileprovider v0.96.0
Expand Down
4 changes: 2 additions & 2 deletions cmd/mdatagen/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/otelcorecol/go.mod
Expand Up @@ -5,7 +5,7 @@ module go.opentelemetry.io/collector/cmd/otelcorecol
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.96.0
go.opentelemetry.io/collector/connector v0.96.0
go.opentelemetry.io/collector/connector/forwardconnector v0.96.0
Expand Down
3 changes: 2 additions & 1 deletion cmd/otelcorecol/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion component/go.mod
Expand Up @@ -6,7 +6,7 @@ require (
github.com/prometheus/client_golang v1.19.0
github.com/prometheus/client_model v0.6.0
github.com/prometheus/common v0.48.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/config/configtelemetry v0.96.0
go.opentelemetry.io/collector/confmap v0.96.0
go.opentelemetry.io/collector/pdata v1.3.0
Expand Down
4 changes: 2 additions & 2 deletions component/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/configauth/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/config/configauth
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.96.0
go.opentelemetry.io/collector/extension v0.96.0
go.opentelemetry.io/collector/extension/auth v0.96.0
Expand Down
4 changes: 2 additions & 2 deletions config/configauth/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/configcompression/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/config/configcompression
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
)

Expand Down
4 changes: 2 additions & 2 deletions config/configcompression/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/configgrpc/go.mod
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/mostynb/go-grpc-compression v1.2.2
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector v0.96.0
go.opentelemetry.io/collector/component v0.96.0
go.opentelemetry.io/collector/config/configauth v0.96.0
Expand Down
4 changes: 2 additions & 2 deletions config/configgrpc/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/confighttp/go.mod
Expand Up @@ -6,7 +6,7 @@ require (
github.com/golang/snappy v0.0.4
github.com/klauspost/compress v1.17.7
github.com/rs/cors v1.10.1
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector v0.96.0
go.opentelemetry.io/collector/component v0.96.0
go.opentelemetry.io/collector/config/configauth v0.96.0
Expand Down
4 changes: 2 additions & 2 deletions config/confighttp/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/confignet/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/config/confignet
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
)

Expand Down
4 changes: 2 additions & 2 deletions config/confignet/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/configopaque/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/config/configopaque
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/confmap v0.96.0
go.uber.org/goleak v1.3.0
gopkg.in/yaml.v3 v3.0.1
Expand Down
4 changes: 2 additions & 2 deletions config/configopaque/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/configretry/go.mod
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/cenkalti/backoff/v4 v4.2.1
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
)

Expand Down
4 changes: 2 additions & 2 deletions config/configretry/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/configtelemetry/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/config/configtelemetry
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
)

Expand Down
4 changes: 2 additions & 2 deletions config/configtelemetry/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/configtls/go.mod
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/fsnotify/fsnotify v1.7.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/config/configopaque v1.3.0
)

Expand Down
4 changes: 2 additions & 2 deletions config/configtls/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/internal/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/config/internal
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector v0.96.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
Expand Down
4 changes: 2 additions & 2 deletions config/internal/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion confmap/converter/expandconverter/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/confmap/converter/expandconverter
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/confmap v0.96.0
go.uber.org/goleak v1.3.0
)
Expand Down
4 changes: 2 additions & 2 deletions confmap/converter/expandconverter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion confmap/go.mod
Expand Up @@ -7,7 +7,7 @@ require (
github.com/knadh/koanf/maps v0.1.1
github.com/knadh/koanf/providers/confmap v0.1.0
github.com/knadh/koanf/v2 v2.1.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
gopkg.in/yaml.v3 v3.0.1
Expand Down
4 changes: 2 additions & 2 deletions confmap/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion confmap/provider/envprovider/go.mod
Expand Up @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/confmap/provider/envprovider
go 1.21

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/confmap v0.96.0
go.uber.org/goleak v1.3.0
)
Expand Down

0 comments on commit 5481440

Please sign in to comment.