We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b0ca4 commit ce09054Copy full SHA for ce09054
pkg/controller.v1beta1/experiment/manifest/generator_test.go
@@ -236,8 +236,8 @@ spec:
236
- "--momentum=0.9"`
237
238
expectedRunSpec, err := util.ConvertStringToUnstructured(expectedStr)
239
- if err != nil {
240
- t.Errorf("%v: %v", errConvertStringToUnstructuredFailed, err)
+ if diff := cmp.Diff(nil, err, cmpopts.EquateErrors()); len(diff) != 0 {
+ t.Errorf("ConvertStringToUnstructured failed (-want,+got):\n%s", diff)
241
}
242
243
cases := map[string]struct {
0 commit comments