zachallaun / mneme

Snapshot testing for Elixir
https://hex.pm/packages/mneme
95 stars 5 forks source link

Keep escape sequences in strings #62

Closed mneumann closed 9 months ago

mneumann commented 10 months ago

Current behaviour:

test "blah" do
    auto_assert "blah^M" <- "blah\r"
end

NOTE that vim displays ASCII 13 as ^M.

I'd expect it to generate instead:

test "blah" do
    auto_assert "blah\r" <- "blah\r"
end