JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job

This commit is contained in:
mikr
2021-04-13 15:45:01 +02:00
parent 440152b0ba
commit d788363e65
9 changed files with 55 additions and 5 deletions
@@ -101,7 +101,8 @@ class ProcessUnderstandingUnitTest {
.replace("/", File.separator));
BufferedReader output = new BufferedReader(new InputStreamReader(process.getInputStream()));
int value = Integer.parseInt(output.readLine());
String line = output.readLine();
int value = Integer.parseInt(line);
assertEquals(3, value);
}