Skip to content

Commit 3b9c691

Browse files
committed
Improve #497 test (to validate content)
1 parent c86b438 commit 3b9c691

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

csv/src/test/java/com/fasterxml/jackson/dataformat/csv/failing/UnicodeRead497Test.java

+3
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ public void testUnicodeAtEnd() throws Exception
2323
JsonNode o = MAPPER.reader() //.with(schema)
2424
.readTree(doc.getBytes(StandardCharsets.UTF_8));
2525
assertNotNull(o);
26+
assertTrue(o.isArray());
27+
assertEquals(1, o.size());
28+
assertEquals(o.get(0).textValue(), doc);
2629
}
2730
}

0 commit comments

Comments
 (0)