diff options
author | Alex Crichton <alex@alexcrichton.com> | 2018-07-11 09:01:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 09:01:53 -0500 |
commit | f99ab3f5e30f2ce00de9bc15083d2671107f1fcf (patch) | |
tree | 3a1715fa18ba7640c12fea20ffaa762206c95c62 /test-suite/tests/valid | |
parent | 2be7ce9079fa02d9dd42958410ba1c40cef9811c (diff) | |
parent | 69b4571c6bafcd7d9f675d3eb49d4c088d372eea (diff) | |
download | milf-rs-f99ab3f5e30f2ce00de9bc15083d2671107f1fcf.tar.gz milf-rs-f99ab3f5e30f2ce00de9bc15083d2671107f1fcf.zip |
Merge pull request #248 from ehuss/float-0.5
0.5: Support floats nan, inf, and +/-0.0.
Diffstat (limited to 'test-suite/tests/valid')
-rw-r--r-- | test-suite/tests/valid/integer.json | 4 | ||||
-rw-r--r-- | test-suite/tests/valid/integer.toml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test-suite/tests/valid/integer.json b/test-suite/tests/valid/integer.json index 61985a1..86f779f 100644 --- a/test-suite/tests/valid/integer.json +++ b/test-suite/tests/valid/integer.json @@ -1,4 +1,6 @@ { "answer": {"type": "integer", "value": "42"}, - "neganswer": {"type": "integer", "value": "-42"} + "neganswer": {"type": "integer", "value": "-42"}, + "neg_zero": {"type": "integer", "value": "0"}, + "pos_zero": {"type": "integer", "value": "0"} } diff --git a/test-suite/tests/valid/integer.toml b/test-suite/tests/valid/integer.toml index c4f6297..2bdca34 100644 --- a/test-suite/tests/valid/integer.toml +++ b/test-suite/tests/valid/integer.toml @@ -1,2 +1,4 @@ answer = 42 neganswer = -42 +neg_zero = -0 +pos_zero = +0 |