Make validation cancellation authoritative
This commit is contained in:
@@ -924,7 +924,7 @@ func TestJSONSchemaDialectIsDraft2020(t *testing.T) {
|
||||
func assertSchemaDocument(t *testing.T, got any, expectedJSON []byte) {
|
||||
t.Helper()
|
||||
|
||||
expected, err := decodeJSONValue(expectedJSON)
|
||||
expected, err := decodeJSONValue(context.Background(), expectedJSON)
|
||||
if err != nil {
|
||||
t.Fatalf("decode expected schema document: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user