diff options
author | Alex Crichton <alex@alexcrichton.com> | 2014-07-18 09:55:32 -0400 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-18 09:55:32 -0400 |
commit | 76cf3d1d3ef0fb21ade21d313d8b67b65ed7e8ac (patch) | |
tree | 2ccbf27ac04539985419897bf0225267c22f2541 /src/test/valid | |
parent | 05f8c0bc41a10f1e98e420f8d02d778541d13d48 (diff) | |
parent | e756f56b62053a34aa26a00e28dbe4ce29cd9125 (diff) | |
download | milf-rs-76cf3d1d3ef0fb21ade21d313d8b67b65ed7e8ac.tar.gz milf-rs-76cf3d1d3ef0fb21ade21d313d8b67b65ed7e8ac.zip |
Merge pull request #8 from huonw/fixit
Disambiguate "" empty strings from multiline strings properly.
Diffstat (limited to 'src/test/valid')
-rw-r--r-- | src/test/valid/string-empty.json | 6 | ||||
-rw-r--r-- | src/test/valid/string-empty.toml | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/test/valid/string-empty.json b/src/test/valid/string-empty.json new file mode 100644 index 0000000..6c26d69 --- /dev/null +++ b/src/test/valid/string-empty.json @@ -0,0 +1,6 @@ +{ + "answer": { + "type": "string", + "value": "" + } +} diff --git a/src/test/valid/string-empty.toml b/src/test/valid/string-empty.toml new file mode 100644 index 0000000..e37e681 --- /dev/null +++ b/src/test/valid/string-empty.toml @@ -0,0 +1 @@ +answer = "" |