Skip to content

Commit

Permalink
future work
Browse files Browse the repository at this point in the history
  • Loading branch information
jlgeering committed Oct 17, 2023
1 parent 1b50521 commit f611e17
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/ymlr/encode_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,11 @@ defmodule Ymlr.EncodeTest do
\tprintf("Hello, world!\\n");
}
"""
|> String.trim()

assert encoded == expected
# not working yet => TODO better handling of terminal newlines
# assert YamlElixir.read_from_string!(encoded) == given
# assert encoded == expected
assert encoded == String.trim(expected)
end

test "nested: list / multiline string" do
Expand Down

0 comments on commit f611e17

Please sign in to comment.