Merge pull request #4552 from Shingyx/fix-assembler-tests-on-windows

Fix Assembler tests when autocrlf=true on Windows
This commit is contained in:
Tomas Slusny
2018-07-31 10:08:43 +02:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ public class AssemblerTest
in = AssemblerTest.class.getResourceAsStream(this.script);
Assert.assertNotNull(in);
String original = new String(IOUtils.toByteArray(in));
String original = new String(IOUtils.toByteArray(in)).replaceAll("\r\n", "\n");
logger.info(original);
logger.info("-----------------------");