exchange the order of comparators
Signed-off-by: kerthcet <kerthcet@gmail.com>
This commit is contained in:
@@ -845,7 +845,7 @@ func TestPluginArgsDefaults(t *testing.T) {
|
|||||||
defer featuregatetesting.SetFeatureGateDuringTest(t, feature.DefaultFeatureGate, k, v)()
|
defer featuregatetesting.SetFeatureGateDuringTest(t, feature.DefaultFeatureGate, k, v)()
|
||||||
}
|
}
|
||||||
scheme.Default(tc.in)
|
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)
|
t.Errorf("Got unexpected defaults (-want, +got):\n%s", diff)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user