Skip to content

Commit

Permalink
Fix testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Mar 14, 2020
1 parent 3576759 commit 70aa99f
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions tests/draft4/definitions.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
[
{
"description": "valid definition",
"schema": {"$ref": "http://json-schema.org/draft-04/schema#"},
"tests": [
{
"description": "valid definition schema",
"data": {
"definitions": {
"foo": {"type": "integer"}
}
},
"valid": true
"schema": {
"definitions": {
"foo": { "type": "integer" }
}
]
},
"tests": []
},
{
"description": "invalid definition",
"schema": {"$ref": "http://json-schema.org/draft-04/schema#"},
"tests": [
{
"description": "invalid definition schema",
"data": {
"definitions": {
"foo": {"type": 1}
}
},
"valid": false
"schema": {
"definitions": {
"foo": { "type": 1 }
}
]
},
"valid": false
}
]

0 comments on commit 70aa99f

Please sign in to comment.