Skip to content

Commit

Permalink
Added similar escaped quote+space test for double-quoted string
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyCat committed Oct 14, 2023
1 parent c0083fb commit 17f9e40
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ class ExpressionsSpec extends AnyFunSpec {
Expressions.parse("\"abc\\u21bbdef\"") should be (Str("abc\u21bbdef"))
}

it("parses double-quoted string with double quote") {
Expressions.parse("\"this \\\" is a quote\"") should be(Str("this \" is a quote"))
}

// Casts
it("parses 123.as<u4>") {
Expressions.parse("123.as<u4>") should be (
Expand Down

0 comments on commit 17f9e40

Please sign in to comment.