Skip to content

Commit 3f2b00d

Browse files
authored
PLM-155: Fix test assertion (#106)
1 parent 3cbcd97 commit 3f2b00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topo/topo_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestRunWithRetry_FalureOnAllRetries(t *testing.T) {
5252

5353
maxRetries := 3
5454
err := RunWithRetry(t.Context(), fn, 1*time.Millisecond, maxRetries)
55-
if errors.Is(err, &transientErr) {
55+
if !errors.As(err, &transientErr) {
5656
t.Errorf("expected error %v, got %v", transientErr, err)
5757
}
5858
if calls != maxRetries {

0 commit comments

Comments
 (0)