Skip to content

Commit

Permalink
Fixed spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
w3stling committed Oct 23, 2022
1 parent d357a98 commit 00f0bb1
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -616,13 +616,7 @@ void testClose() throws IOException {
Stream<Item> stream = new RssReader().read("https://lwn.net/headlines/rss");
stream.close();

try {
long count = stream.count();
assertTrue(count > 0);
fail();
} catch (IllegalStateException ignored) {

}
assertThrows(IllegalStateException.class, stream::count);
}

@Test
Expand Down

0 comments on commit 00f0bb1

Please sign in to comment.