IO683 - Fix broken test
MODIFY
src/test/java/org/apache/commons/io/input/buffer/CircularBufferInputStreamTest.java
src/test/java/org/apache/commons/io/input/buffer/CircularBufferInputStreamTest.java
@@ -47,7 +47,7 @@ public void testRandomRead() throws Exception {
if (res == -1) {
throw new IllegalStateException("Unexpected EOF at offset " + offset);
}
- if (inputBuffer[offset] != res) {
+ if (inputBuffer[offset] != (byte) res) { // compare as bytes
throw new IllegalStateException("Expected " + inputBuffer[offset] + " at offset " + offset + ", got " + res);
}
++offset;

IO683 - Fix broken test