Skip to content

Commit

Permalink
Improve #497 test (to validate content)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Sep 23, 2024
1 parent c86b438 commit 3b9c691
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ public void testUnicodeAtEnd() throws Exception
JsonNode o = MAPPER.reader() //.with(schema)
.readTree(doc.getBytes(StandardCharsets.UTF_8));
assertNotNull(o);
assertTrue(o.isArray());
assertEquals(1, o.size());
assertEquals(o.get(0).textValue(), doc);
}
}

0 comments on commit 3b9c691

Please sign in to comment.