8022615: [nightly] Two nashorn print tests fail in nightly builds on Windows
Reviewed-by: lagergren, jlaskey
This commit is contained in:
parent
76e9329e16
commit
cb2ec81051
@ -1235,7 +1235,8 @@ public class ScriptEngineTest {
|
||||
fail(t.getMessage());
|
||||
}
|
||||
|
||||
assertEquals(sw.toString(), "hello\n");
|
||||
// dos2unix - fix line endings if running on windows
|
||||
assertEquals(sw.toString().replaceAll("\r", ""), "hello\n");
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -1252,6 +1253,7 @@ public class ScriptEngineTest {
|
||||
fail(t.getMessage());
|
||||
}
|
||||
|
||||
assertEquals(sw.toString(), "34 true hello\n");
|
||||
// dos2unix - fix line endings if running on windows
|
||||
assertEquals(sw.toString().replaceAll("\r", ""), "34 true hello\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user