Debian Codegraph @

t/tests/bad/invalid-schema.json

raw
1 [
2 {
3 "description": "exception handling",
4 "schema": true,
5 "tests": [
6 {
7 "description": "no exception; expect invalid: want test failure",
8 "data": { "exception": false },
9 "valid": false
10 },
11 {
12 "description": "no exception; expect valid: want test pass",
13 "data": { "exception": false },
14 "valid": true
15 },
16 {
17 "description": "exception; expect invalid: want test failure (via exception)",
18 "data": { "exception": true },
19 "valid": false
20 },
21 {
22 "description": "exception; expect valid: want test failure (via exception)",
23 "data": { "exception": true },
24 "valid": true
25 }
26 ]
27 }
28 ]