diff --git a/test/cases/negative_zero.json b/test/cases/negative_zero.json new file mode 100644 index 0000000..25147e2 --- /dev/null +++ b/test/cases/negative_zero.json @@ -0,0 +1 @@ +[[-0], -0, {"key":-0, "another key":-0}, -0 ] \ No newline at end of file diff --git a/test/cases/negative_zero.test b/test/cases/negative_zero.test new file mode 100644 index 0000000..c4f230e --- /dev/null +++ b/test/cases/negative_zero.test @@ -0,0 +1 @@ +[start_array, start_array, {float, "-0"}, end_array, {float, "-0"}, start_object, {key, "key"}, {float, "-0"}, {key, "another key"}, {float, "-0"}, end_object, {float, "-0"}, end_array]. \ No newline at end of file diff --git a/test/cases/zero.test b/test/cases/zero.test index 851ba90..843c563 100644 --- a/test/cases/zero.test +++ b/test/cases/zero.test @@ -1 +1 @@ -integer[start_array, start_array, {integer, "0"}, end_array, {integer, "0"}, start_object, {key, "key"}, {integer, "0"}, {key, "another key"}, {integer, "0"}, end_object, {integer, "0"}, end_array]. \ No newline at end of file +[start_array, start_array, {integer, "0"}, end_array, {integer, "0"}, start_object, {key, "key"}, {integer, "0"}, {key, "another key"}, {integer, "0"}, end_object, {integer, "0"}, end_array]. \ No newline at end of file