We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5f3c84 commit 92def6eCopy full SHA for 92def6e
1 file changed
core-java/src/test/java/org/baeldung/java/io/JavaScannerTest.java
@@ -73,7 +73,7 @@ public void whenReadUsingScanner_thenCorrect() throws IOException {
73
}
74
75
@Test
76
- public void whenReadInputFromConsole_thenCorrect() {
+ public void whenReadingInputFromConsole_thenCorrect() {
77
final String input = "Hello";
78
final InputStream stdin = System.in;
79
System.setIn(new ByteArrayInputStream(input.getBytes()));
0 commit comments