Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update golang.org/x/exp digest to 89c5cff #195

Merged
merged 2 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/cucumber/godog v0.12.6
github.com/go-logr/logr v1.2.4
github.com/golang/mock v1.6.0
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb
golang.org/x/text v0.12.0
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc=
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb h1:mIKbk8weKhSeLH2GmUTrvx8CjkyJmnU1wFmg59CUjFA=
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
Expand Down
12 changes: 6 additions & 6 deletions pkg/openfeature/event_executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1250,15 +1250,15 @@ func TestEventHandler_APIRemoval(t *testing.T) {
t.Errorf("expected %d events, but got %d", 3, readyLen)
}

if !slices.Contains(executor.apiRegistry[ProviderReady], &h2) {
if !slices.Contains(executor.apiRegistry[ProviderReady], EventCallback(&h2)) {
t.Errorf("expected callback to be present")
}

if !slices.Contains(executor.apiRegistry[ProviderReady], &h3) {
if !slices.Contains(executor.apiRegistry[ProviderReady], EventCallback(&h3)) {
t.Errorf("expected callback to be present")
}

if !slices.Contains(executor.apiRegistry[ProviderReady], &h3) {
if !slices.Contains(executor.apiRegistry[ProviderReady], EventCallback(&h4)) {
t.Errorf("expected callback to be present")
}

Expand Down Expand Up @@ -1303,15 +1303,15 @@ func TestEventHandler_APIRemoval(t *testing.T) {
t.Errorf("expected %d events in client a, but got %d", 3, readyLen)
}

if !slices.Contains(executor.scopedRegistry["a"].callbacks[ProviderReady], &h2) {
if !slices.Contains(executor.scopedRegistry["a"].callbacks[ProviderReady], EventCallback(&h2)) {
t.Errorf("expected callback to be present")
}

if !slices.Contains(executor.scopedRegistry["a"].callbacks[ProviderReady], &h3) {
if !slices.Contains(executor.scopedRegistry["a"].callbacks[ProviderReady], EventCallback(&h3)) {
t.Errorf("expected callback to be present")
}

if !slices.Contains(executor.scopedRegistry["a"].callbacks[ProviderReady], &h4) {
if !slices.Contains(executor.scopedRegistry["a"].callbacks[ProviderReady], EventCallback(&h4)) {
t.Errorf("expected callback to be present")
}

Expand Down
Loading