Skip to content

Commit

Permalink
Be more consistent in string escape lexer specs
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Dec 2, 2013
1 parent d7ba77d commit acd2ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/cli/lexer_spec.rb
Expand Up @@ -39,8 +39,8 @@
end

it "does escape characters using double-quoted strings" do
expect_parsed_string('"foo"').to eq("foo")
expect_parsed_string('"foo\tbar"').to eq("foo\tbar")
expect_parsed_string("\"foo\"").to eq("foo")
expect_parsed_string("\"foo\\tbar\"").to eq("foo\tbar")
end
end
end

0 comments on commit acd2ae2

Please sign in to comment.