Skip to content

Commit

Permalink
fix #7203 and #7218
Browse files Browse the repository at this point in the history
for Windows users who have git configured with \r\n line endings,
or modify the source in an editor that always uses \r\n
  • Loading branch information
tkelman committed Jun 11, 2014
1 parent ce6dbb1 commit 0c0e5b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/strings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -811,18 +811,18 @@ s = " p"
\t""" == ""
@test """
foo
\tbar""" == "foo\n\tbar"
\tbar""" == "foo$(nl)\tbar"
@test """
foo
\tbar
""" == "foo\n\tbar\n"
""" == "foo$(nl)\tbar$(nl)"
@test """
foo
bar\t""" == "foo\nbar\t"
bar\t""" == "foo$(nl)bar\t"
@test """
foo
\tbar
""" == "foo\n bar\n"
""" == "foo$(nl) bar$(nl)"

# bytes2hex and hex2bytes
hex_str = "d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592"
Expand Down

0 comments on commit 0c0e5b9

Please sign in to comment.