expressions_test: add empty string round-trip check
This commit is contained in:
parent
4a2ececea4
commit
344e62e7db
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ TEST_CASE("expressions")
|
||||||
// integer
|
// integer
|
||||||
TRY_CHECK(parse_and_dump("123") == "123");
|
TRY_CHECK(parse_and_dump("123") == "123");
|
||||||
// unicode
|
// unicode
|
||||||
|
TRY_CHECK(parse_and_dump("''") == "''");
|
||||||
TRY_CHECK(parse_and_dump("'single-quoted string'") == "'single-quoted string'");
|
TRY_CHECK(parse_and_dump("'single-quoted string'") == "'single-quoted string'");
|
||||||
TRY_CHECK(parse_and_dump("\"double-quoted string\"") == "'double-quoted string'");
|
TRY_CHECK(parse_and_dump("\"double-quoted string\"") == "'double-quoted string'");
|
||||||
TRY_CHECK(parse_and_dump("'escaped \\' apostrophe'") == "'escaped \\' apostrophe'");
|
TRY_CHECK(parse_and_dump("'escaped \\' apostrophe'") == "'escaped \\' apostrophe'");
|
||||||
|
|
Loading…
Reference in a new issue