Update JavaScannerUnitTest.java

This commit is contained in:
Eric Martin 2019-11-01 23:48:07 -05:00 committed by GitHub
parent 7e61f39222
commit 33d819efee
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ public class JavaScannerUnitTest {
}
@Test(expected = NoSuchElementException.class)
public void givenNoNewLine_whenReadingNextLine_thenThrowNoSuchElementException() {
try (Scanner scanner = new Scanner("")) {
String result = scanner.nextLine();