From 317b086f6604ae1e1ba5277a0b2e16c1b366cb1e Mon Sep 17 00:00:00 2001 From: Michael <3533648+hertg@users.noreply.github.com> Date: Sun, 4 Oct 2020 15:14:46 +0200 Subject: [PATCH] test: add json highlight test --- tests/syntax-tests/highlighted/JSON/test.json | 29 +++++++++++++++++++ tests/syntax-tests/source/JSON/test.json | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 tests/syntax-tests/highlighted/JSON/test.json create mode 100644 tests/syntax-tests/source/JSON/test.json 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