Skip to content

Commit

Permalink
Fix missed octal literal which is hard error in Scala 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed May 13, 2021
1 parent b23397b commit 687b427
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class ExpressionsSpec extends AnyFunSpec {
}

it("parses interpolated string with zero char") {
Expressions.parse("\"abc\\0def\"") should be (Str("abc\0def"))
Expressions.parse("\"abc\\0def\"") should be (Str("abc\u0000def"))
}

it("parses non-interpolated string with zero char") {
Expand Down

0 comments on commit 687b427

Please sign in to comment.