exchange the order of comparators

Signed-off-by: kerthcet <kerthcet@gmail.com>
This commit is contained in:
kerthcet
2024-02-19 20:46:36 +08:00
parent 7b108d8ee1
commit 3c9c141d98

View File

@@ -845,7 +845,7 @@ func TestPluginArgsDefaults(t *testing.T) {
defer featuregatetesting.SetFeatureGateDuringTest(t, feature.DefaultFeatureGate, k, v)()
}
scheme.Default(tc.in)
if diff := cmp.Diff(tc.in, tc.want); diff != "" {
if diff := cmp.Diff(tc.want, tc.in); diff != "" {
t.Errorf("Got unexpected defaults (-want, +got):\n%s", diff)
}
})