Skip to content

Commit 3649b58

Browse files
committed
Would be nice if I'd have properly run lint.
1 parent e6a270f commit 3649b58

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/draft3/additionalProperties.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
"description": "an additional property is invalid",
1717
"data": {"foo" : 1, "bar" : 2, "quux" : "boom"},
1818
"valid": false
19-
},
19+
}
2020
]
2121
},
2222
{
2323
"description":
2424
"additionalProperties allows a schema which should validate",
2525
"schema": {
2626
"properties": {"foo": {}, "bar": {}},
27-
"additionalProperties": {"type": "boolean"},
27+
"additionalProperties": {"type": "boolean"}
2828
},
2929
"tests": [
3030
{
@@ -43,7 +43,7 @@
4343
"valid": false
4444
}
4545
]
46-
}
46+
},
4747
{
4848
"description": "additionalProperties are allowed by default",
4949
"schema": {"properties": {"foo": {}, "bar": {}}},

tests/draft3/patternProperties.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
},
2121
{
2222
"description": "a single invalid match is invalid",
23-
"data": {"foo": "bar", "fooooo", 2},
23+
"data": {"foo": "bar", "fooooo": 2},
2424
"valid": false
2525
},
2626
{
2727
"description": "multiple invalid matches is invalid",
2828
"data": {"foo": "bar", "foooooo" : "baz"},
2929
"valid": false
30-
},
30+
}
3131
]
3232
},
3333
{

tests/draft3/type.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,15 +442,15 @@
442442
"description": "an object is invalid otherwise",
443443
"data": {"foo": "bar"},
444444
"valid": false
445-
},
445+
}
446446
]
447447
},
448448
{
449449
"description": "types from separate schemas are merged",
450450
"schema": {
451451
"type": [
452452
{"type": ["string"]},
453-
{"type": ["array", "null"]},
453+
{"type": ["array", "null"]}
454454
]
455455
},
456456
"tests": [

0 commit comments

Comments
 (0)