Skip to content

Commit edc850f

Browse files
committed
fixed TestStreamPackUnpack
1 parent aad8ce2 commit edc850f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/msgpack/TestStreamPackUnpack.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void testLong(long v) throws Exception {
7070
packer.flush();
7171
ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
7272
Unpacker unpacker = new StreamUnpacker(in);
73-
int ret = unpacker.readInt();
73+
long ret = unpacker.readLong();
7474
assertEquals(v, ret);
7575
}
7676

0 commit comments

Comments
 (0)