Fix test name

This commit is contained in:
anujgaud 2024-02-03 19:24:33 +05:30 committed by GitHub
parent d45bf19622
commit f3d6abbf6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class SystemInReadUnitTest {
}
@Test
void givenUserInput_whenUsingReadSingleCharacter_thenReading() {
void givenUserInput_whenUsingReadWithParameters_thenRead() {
System.setIn(new ByteArrayInputStream("ABC".getBytes()));
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
System.setOut(new PrintStream(outputStream));