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.
2 parents 4882fc1 + 4a705c6 commit fd40b10Copy full SHA for fd40b10
validate/validate_test.go
@@ -75,6 +75,9 @@ func TestJSONSchema(t *testing.T) {
75
assert.Equal(t, nil, errs)
76
return
77
}
78
+ if errs == nil {
79
+ t.Fatal("failed to raise the expected error")
80
+ }
81
merr, ok := errs.(*multierror.Error)
82
if !ok {
83
t.Fatalf("non-multierror returned by CheckJSONSchema: %s", errs.Error())
0 commit comments