Skip to content

Commit

Permalink
[skip travis] except where it should be LF
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurel300 committed Jun 5, 2019
1 parent 78aac00 commit 2cdedee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sys/src/TestUnicode.hx
Original file line number Diff line number Diff line change
Expand Up @@ -376,14 +376,14 @@ class TestUnicode extends utest.Test {
UnicodeSequences.normalNFC(str -> {
var byteLength = Bytes.ofString(str).length;
var line = data.readString(byteLength + 1); // + newline character
assertUEquals(line, str + endLine);
assertUEquals(line, '$str\n');
});

// readUntil
data.seek(0, SeekBegin);
UnicodeSequences.normalNFC(str -> {
var line = data.readUntil(0x0A);
assertUEquals(line, str + (Sys.systemName() == "Windows" ? "\r" : ""));
assertUEquals(line, str);
});
}
#end
Expand Down

0 comments on commit 2cdedee

Please sign in to comment.