Skip to content

Commit

Permalink
Update faunaJava/src/test/java/com/fauna/serialization/FaunaParserTes…
Browse files Browse the repository at this point in the history
…t.java

Co-authored-by: Lucas Pedroza <[email protected]>
  • Loading branch information
pchitolina-fauna and pnwpedro authored Jan 31, 2024
1 parent 5d6d572 commit 015f356
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void testGetValueAsLong() throws IOException {
InputStream invalidInputStream = new ByteArrayInputStream(invalidJson.getBytes());
FaunaParser invalidReader = new FaunaParser(invalidInputStream);

assertThrows(RuntimeException.class, invalidReader::getValueAsLong);
assertThrows(SerializationException.class, invalidReader::getValueAsLong);
}

private static void assertReader(FaunaParser reader,
Expand Down

0 comments on commit 015f356

Please sign in to comment.