Skip to content
Permalink
Browse files
Fix broken tests.
  • Loading branch information
garydgregory committed May 5, 2022
1 parent a92bb6d commit 1fb9ef9e5bbd5b7688133628c6ebfa567b31cd7c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -58,7 +58,7 @@ public void cantPrefillAfterDataHasBeenRead() throws IOException {
try (TestStream s = new TestStream(new ByteArrayInputStream(data))) {
s.literal(3);
assertEquals(1, s.read());
assertThrows(IllegalArgumentException.class, () -> s.prefill(new byte[] {1, 2, 3}));
assertThrows(IllegalStateException.class, () -> s.prefill(new byte[] {1, 2, 3}));
}
}

0 comments on commit 1fb9ef9

Please sign in to comment.