diff options
author | Alex Crichton <alex@alexcrichton.com> | 2018-10-01 10:05:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-01 10:05:36 -0700 |
commit | 480457fdbd8b3a78e30d7cd4b7f045e38ff77740 (patch) | |
tree | 019d9a7a18b1512d099e8a8b704caad1b3c97b1f /test-suite/tests/valid | |
parent | f998fbe360b4ea37f27793a55831e988415b4b6d (diff) | |
parent | 2059589f5420bed3d490822fc9560db3c3a21515 (diff) | |
download | milf-rs-480457fdbd8b3a78e30d7cd4b7f045e38ff77740.tar.gz milf-rs-480457fdbd8b3a78e30d7cd4b7f045e38ff77740.zip |
Merge pull request #263 from Deewiant/final-quote-fix
Avoid panic on pretty string ending in single quote
Diffstat (limited to 'test-suite/tests/valid')
-rw-r--r-- | test-suite/tests/valid/quote-surrounded-value.json | 10 | ||||
-rw-r--r-- | test-suite/tests/valid/quote-surrounded-value.toml | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/tests/valid/quote-surrounded-value.json b/test-suite/tests/valid/quote-surrounded-value.json new file mode 100644 index 0000000..84495cf --- /dev/null +++ b/test-suite/tests/valid/quote-surrounded-value.json @@ -0,0 +1,10 @@ +{ + "double": { + "type": "string", + "value": "\"double quotes here\"" + }, + "single": { + "type": "string", + "value": "'single quotes here'" + } +} diff --git a/test-suite/tests/valid/quote-surrounded-value.toml b/test-suite/tests/valid/quote-surrounded-value.toml new file mode 100644 index 0000000..dc8697e --- /dev/null +++ b/test-suite/tests/valid/quote-surrounded-value.toml @@ -0,0 +1,2 @@ +double = '"double quotes here"' +single = "'single quotes here'" |