JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user