From 2059589f5420bed3d490822fc9560db3c3a21515 Mon Sep 17 00:00:00 2001 From: Matti Niemenmaa Date: Mon, 1 Oct 2018 11:58:57 +0300 Subject: Avoid panic on pretty string ending in single quote Fixes #262. --- test-suite/tests/valid/quote-surrounded-value.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test-suite/tests/valid/quote-surrounded-value.json (limited to 'test-suite/tests/valid/quote-surrounded-value.json') 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'" + } +} -- cgit v1.2.3