Skip to content

Commit

Permalink
Update gson/src/test/java/com/google/gson/JsonStreamParserTest.java
Browse files Browse the repository at this point in the history
Co-authored-by: Marcono1234 <[email protected]>
  • Loading branch information
elevne and Marcono1234 committed Jul 29, 2023
1 parent 03ab124 commit 7da3d47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void testEmptyInput() {

parser = new JsonStreamParser("");
e = assertThrows(JsonIOException.class, parser::hasNext);
assertThat(e.getCause()).isInstanceOf(EOFException.class);
assertThat(e).hasCauseThat().isInstanceOf(EOFException.class);
}

@Test
Expand Down

0 comments on commit 7da3d47

Please sign in to comment.