elharo commented on code in PR #543:
URL: https://github.com/apache/commons-io/pull/543#discussion_r1438224462
##########
src/test/java/org/apache/commons/io/build/CharSequenceOriginTest.java:
##########
@@ -84,4 +84,13 @@ public void testGetWriter() {
assertThrows(UnsupportedOperationException.class,
super::testGetWriter);
}
+ @Test
+ public void testGetReader_UTF16() throws IOException {
Review Comment:
Yes. I saw your comment asking for a test before I saw you had added one. I
likely should have written the test first, but it took me a little longer to
figure out how to reliably expose the bug. Once I figured that out, I did write
this one against the earlier version of the code before the bug fix and
verified that it failed there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]