Skip to content

Commit 61680ed

Browse files
fix(deps): update golang.org/x/exp digest to 89c5cff (#195)
* fix(deps): update golang.org/x/exp digest to 89c5cff * fix calling to match method signature Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com> --------- Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
1 parent 9d0f271 commit 61680ed

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/cucumber/godog v0.12.6
77
github.com/go-logr/logr v1.2.4
88
github.com/golang/mock v1.6.0
9-
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
9+
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb
1010
golang.org/x/text v0.12.0
1111
)
1212

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
5353
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
5454
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
5555
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
56-
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1 h1:k/i9J1pBpvlfR+9QsetwPyERsqu1GIbi967PQMq3Ivc=
57-
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
56+
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb h1:mIKbk8weKhSeLH2GmUTrvx8CjkyJmnU1wFmg59CUjFA=
57+
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
5858
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
5959
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
6060
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=

pkg/openfeature/event_executor_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,15 +1250,15 @@ func TestEventHandler_APIRemoval(t *testing.T) {
12501250
t.Errorf("expected %d events, but got %d", 3, readyLen)
12511251
}
12521252

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)