From 2cdedeeacab03ede7b355feb1c121d072bdb84eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aurel=20Bi=CC=81ly=CC=81?= Date: Mon, 20 May 2019 11:29:44 +0100 Subject: [PATCH] [skip travis] except where it should be LF --- tests/sys/src/TestUnicode.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sys/src/TestUnicode.hx b/tests/sys/src/TestUnicode.hx index 82e83dd6ae2..62c68a05f2a 100644 --- a/tests/sys/src/TestUnicode.hx +++ b/tests/sys/src/TestUnicode.hx @@ -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