Skip to content

Commit 35e5534

Browse files
committed
- fix TestSchemaValidator_Panic
1 parent 9b59475 commit 35e5534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func TestSchemaValidator_PatternProperties(t *testing.T) {
107107
}
108108

109109
func TestSchemaValidator_Panic(t *testing.T) {
110-
assert.PanicsWithValue(t, "Invalid schema provided to SchemaValidator: object has no key \"pointer-to-nowhere\"", schemaValidatorPanicker)
110+
assert.PanicsWithValue(t, `Invalid schema provided to SchemaValidator: object has no field "pointer-to-nowhere"`, schemaValidatorPanicker)
111111
}
112112

113113
func schemaValidatorPanicker() {

0 commit comments

Comments
 (0)