Fix test name
This commit is contained in:
parent
d45bf19622
commit
f3d6abbf6a
@ -30,7 +30,7 @@ public class SystemInReadUnitTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void givenUserInput_whenUsingReadSingleCharacter_thenReading() {
|
void givenUserInput_whenUsingReadWithParameters_thenRead() {
|
||||||
System.setIn(new ByteArrayInputStream("ABC".getBytes()));
|
System.setIn(new ByteArrayInputStream("ABC".getBytes()));
|
||||||
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||||
System.setOut(new PrintStream(outputStream));
|
System.setOut(new PrintStream(outputStream));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user