summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael <3533648+hertg@users.noreply.github.com>2020-10-04 15:14:46 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2020-10-04 21:22:57 +0200
commit317b086f6604ae1e1ba5277a0b2e16c1b366cb1e (patch)
treeeed6cca46fbb8023a49a7eb4398595eb705f925d /tests
parente74719971153ad454be08e30adb98d0aba12ece9 (diff)
test: add json highlight test
Diffstat (limited to 'tests')
-rw-r--r--tests/syntax-tests/highlighted/JSON/test.json29
-rw-r--r--tests/syntax-tests/source/JSON/test.json29
2 files changed, 58 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/JSON/test.json b/tests/syntax-tests/highlighted/JSON/test.json
new file mode 100644
index 00000000..76b859d0
--- /dev/null
+++ b/tests/syntax-tests/highlighted/JSON/test.json
@@ -0,0 +1,29 @@
+[
+ {
+ "name": "john",
+ "age": 42,
+ "isCustomer": false,
+ "children": []
+ },
+ {
+ "name": "james",
+ "age": 35,
+ "isCustomer": true,
+ "children": [
+ {
+ "name": "linus",
+ "age": 4
+ },
+ {
+ "name": "sandra",
+ "age": 2
+ }
+ ]
+ },
+ {
+ "name": "jessica",
+ "age": null,
+ "isCustomer": false,
+ "children": []
+ }
+]
diff --git a/tests/syntax-tests/source/JSON/test.json b/tests/syntax-tests/source/JSON/test.json
new file mode 100644
index 00000000..0c651d59
--- /dev/null
+++ b/tests/syntax-tests/source/JSON/test.json
@@ -0,0 +1,29 @@
+[
+ {
+ "name": "john",
+ "age": 42,
+ "isCustomer": false,
+ "children": []
+ },
+ {
+ "name": "james",
+ "age": 35,
+ "isCustomer": true,
+ "children": [
+ {
+ "name": "linus",
+ "age": 4
+ },
+ {
+ "name": "sandra",
+ "age": 2
+ }
+ ]
+ },
+ {
+ "name": "jessica",
+ "age": null,
+ "isCustomer": false,
+ "children": []
+ }
+] \ No newline at end of file