From fafba677742b71682539595a4054738076d64619 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 27 Jun 2018 11:24:48 -0400 Subject: [PATCH] Add fixtures for JSON arrays. --- test/fixtures/json/corpus/array.A.json | 1 + test/fixtures/json/corpus/array.B.json | 1 + test/fixtures/json/corpus/array.diffA-B.txt | 9 +++++++++ test/fixtures/json/corpus/array.diffB-A.txt | 9 +++++++++ test/fixtures/json/corpus/array.parseA.txt | 6 ++++++ test/fixtures/json/corpus/array.parseB.txt | 6 ++++++ 6 files changed, 32 insertions(+) create mode 100644 test/fixtures/json/corpus/array.A.json create mode 100644 test/fixtures/json/corpus/array.B.json create mode 100644 test/fixtures/json/corpus/array.diffA-B.txt create mode 100644 test/fixtures/json/corpus/array.diffB-A.txt create mode 100644 test/fixtures/json/corpus/array.parseA.txt create mode 100644 test/fixtures/json/corpus/array.parseB.txt diff --git a/test/fixtures/json/corpus/array.A.json b/test/fixtures/json/corpus/array.A.json new file mode 100644 index 000000000..79c6ed541 --- /dev/null +++ b/test/fixtures/json/corpus/array.A.json @@ -0,0 +1 @@ +[1, 3, 3, 5, 7] diff --git a/test/fixtures/json/corpus/array.B.json b/test/fixtures/json/corpus/array.B.json new file mode 100644 index 000000000..ae3dda93f --- /dev/null +++ b/test/fixtures/json/corpus/array.B.json @@ -0,0 +1 @@ +[2, 3, 4, 5, 6] diff --git a/test/fixtures/json/corpus/array.diffA-B.txt b/test/fixtures/json/corpus/array.diffA-B.txt new file mode 100644 index 000000000..5bcc256b8 --- /dev/null +++ b/test/fixtures/json/corpus/array.diffA-B.txt @@ -0,0 +1,9 @@ +(Array +{ (Float) +->(Float) } + (Float) +{ (Float) +->(Float) } + (Float) +{ (Float) +->(Float) }) diff --git a/test/fixtures/json/corpus/array.diffB-A.txt b/test/fixtures/json/corpus/array.diffB-A.txt new file mode 100644 index 000000000..5bcc256b8 --- /dev/null +++ b/test/fixtures/json/corpus/array.diffB-A.txt @@ -0,0 +1,9 @@ +(Array +{ (Float) +->(Float) } + (Float) +{ (Float) +->(Float) } + (Float) +{ (Float) +->(Float) }) diff --git a/test/fixtures/json/corpus/array.parseA.txt b/test/fixtures/json/corpus/array.parseA.txt new file mode 100644 index 000000000..a00977d83 --- /dev/null +++ b/test/fixtures/json/corpus/array.parseA.txt @@ -0,0 +1,6 @@ +(Array + (Float) + (Float) + (Float) + (Float) + (Float)) diff --git a/test/fixtures/json/corpus/array.parseB.txt b/test/fixtures/json/corpus/array.parseB.txt new file mode 100644 index 000000000..a00977d83 --- /dev/null +++ b/test/fixtures/json/corpus/array.parseB.txt @@ -0,0 +1,6 @@ +(Array + (Float) + (Float) + (Float) + (Float) + (Float))