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 ac633af commit bd74247
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void testGetValueAsDouble() throws IOException {
InputStream invalidInputStream = new ByteArrayInputStream(invalidJson.getBytes());
FaunaParser invalidReader = new FaunaParser(invalidInputStream);

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

private static void assertReader(FaunaParser reader,
Expand Down

0 comments on commit bd74247

Please sign in to comment.