Skip to content

Commit acd2ae2

Browse files
committed
Be more consistent in string escape lexer specs
1 parent d7ba77d commit acd2ae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/cli/lexer_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
end
4040

4141
it "does escape characters using double-quoted strings" do
42-
expect_parsed_string('"foo"').to eq("foo")
43-
expect_parsed_string('"foo\tbar"').to eq("foo\tbar")
42+
expect_parsed_string("\"foo\"").to eq("foo")
43+
expect_parsed_string("\"foo\\tbar\"").to eq("foo\tbar")
4444
end
4545
end
4646
end

0 commit comments

Comments
 (0)