diff --git a/go/vt/vtctl/workflow/utils_test.go b/go/vt/vtctl/workflow/utils_test.go index 1f35b3720b1..b315e1aa991 100644 --- a/go/vt/vtctl/workflow/utils_test.go +++ b/go/vt/vtctl/workflow/utils_test.go @@ -7,7 +7,6 @@ import ( "math/rand/v2" "os" "os/exec" - "reflect" "sync" "testing" "time" @@ -91,9 +90,7 @@ func TestCreateDefaultShardRoutingRules(t *testing.T) { require.NoError(t, err) require.Len(t, rules, len(tc.shards)) want := getExpectedRules(tc.sourceKeyspace, tc.targetKeyspace) - if !reflect.DeepEqual(want, rules) { - require.FailNowf(t, "unexpected rules", "got: %v, want: %v", rules, tc.want) - } + require.EqualValues(t, want, rules) }) } }