diff --git a/pkg/patch/transformer/patchjson6902json_test.go b/pkg/patch/transformer/patchjson6902json_test.go index 2c072d854..fbad24988 100644 --- a/pkg/patch/transformer/patchjson6902json_test.go +++ b/pkg/patch/transformer/patchjson6902json_test.go @@ -171,7 +171,7 @@ func TestJsonPatchJSONTransformer_EmptyPatchFile(t *testing.T) { _, err := newPatchJson6902JSONTransformer(id, operations) if err == nil { - t.Fatalf("unexpected error : %v", err) + t.Fatalf("expected an error") } if err != nil {