8297525: jdk/jshell/ToolBasicTest.java fails after JDK-8295984

Reviewed-by: dcubed
This commit is contained in:
Jan Lahoda 2022-11-23 20:21:31 +00:00
parent 6dc4d891c3
commit 91cd8a0366

View File

@ -67,8 +67,6 @@ import static org.testng.Assert.fail;
@Test
public class ToolBasicTest extends ReplToolTesting {
private static final String NL = System.getProperty("line.separator");
public void elideStartUpFromList() {
test(
(a) -> assertCommandOutputContains(a, "123", "==> 123"),
@ -545,7 +543,7 @@ public class ToolBasicTest extends ReplToolTesting {
);
}
test(new String[] {urlAddress},
"File '" + urlAddress + "' for 'jshell' is not found." + NL);
"File '" + urlAddress + "' for 'jshell' is not found.\n");
} finally {
httpServer.stop(0);
}