Skip to content

Commit 3c9c141

Browse files
committed
exchange the order of comparators
Signed-off-by: kerthcet <[email protected]>
1 parent 7b108d8 commit 3c9c141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scheduler/apis/config/v1/defaults_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ func TestPluginArgsDefaults(t *testing.T) {
845845
defer featuregatetesting.SetFeatureGateDuringTest(t, feature.DefaultFeatureGate, k, v)()
846846
}
847847
scheme.Default(tc.in)
848-
if diff := cmp.Diff(tc.in, tc.want); diff != "" {
848+
if diff := cmp.Diff(tc.want, tc.in); diff != "" {
849849
t.Errorf("Got unexpected defaults (-want, +got):\n%s", diff)
850850
}
851851
})

0 commit comments

Comments
 (0)