on master help sign in
test: add json highlight test
commit317b086f6604ae1e1ba5277a0b2e16c1b366cb1e authorMichael <3533648+hertg@users.noreply.github.com> dateSun 4 Oct 2020, 15:14 (6 years ago) parente747199
2 files changed+58
tests/syntax-tests/highlighted/JSON/test.json+29 tests/syntax-tests/source/JSON/test.json+29
tests/syntax-tests/highlighted/JSON/test.jsonnew file+29
@@ -0,0 +1,29 @@
1+[
2+ {
3+ "name": "john",
4+ "age": 42,
5+ "isCustomer": false,
6+ "children": []
7+ },
8+ {
9+ "name": "james",
10+ "age": 35,
11+ "isCustomer": true,
12+ "children": [
13+ {
14+ "name": "linus",
15+ "age": 4
16+ },
17+ {
18+ "name": "sandra",
19+ "age": 2
20+ }
21+ ]
22+ },
23+ {
24+ "name": "jessica",
25+ "age": null,
26+ "isCustomer": false,
27+ "children": []
28+ }
29+]
tests/syntax-tests/source/JSON/test.jsonnew file+29
@@ -0,0 +1,29 @@
1+[
2+ {
3+ "name": "john",
4+ "age": 42,
5+ "isCustomer": false,
6+ "children": []
7+ },
8+ {
9+ "name": "james",
10+ "age": 35,
11+ "isCustomer": true,
12+ "children": [
13+ {
14+ "name": "linus",
15+ "age": 4
16+ },
17+ {
18+ "name": "sandra",
19+ "age": 2
20+ }
21+ ]
22+ },
23+ {
24+ "name": "jessica",
25+ "age": null,
26+ "isCustomer": false,
27+ "children": []
28+ }
29+]