diff --git a/jvm/src/test/scala/io/kaitai/struct/exprlang/ExpressionsSpec.scala b/jvm/src/test/scala/io/kaitai/struct/exprlang/ExpressionsSpec.scala index 52ffa7ac6..4113dc6d4 100644 --- a/jvm/src/test/scala/io/kaitai/struct/exprlang/ExpressionsSpec.scala +++ b/jvm/src/test/scala/io/kaitai/struct/exprlang/ExpressionsSpec.scala @@ -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") { Expressions.parse("123.as") should be (