test fixed

This commit is contained in:
honfika@gmail.com
2015-07-04 14:42:12 +02:00
parent 07bce2f364
commit b700db9027

View File

@@ -103,7 +103,7 @@ public class ABCStreamTest {
for (long number : getTestNumebers(-(1L << 31), (1 << 31) - 1)) {
try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
ABCOutputStream aos = new ABCOutputStream(baos);) {
aos.writeU32(number);
aos.writeS32(number);
aos.close();
try (MemoryInputStream mis = new MemoryInputStream(baos.toByteArray());
ABCInputStream ais = new ABCInputStream(mis);) {