Skip to content

Commit f9e3ce1

Browse files
committed
fix tests
1 parent c6b2811 commit f9e3ce1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

net.lecousin.core/src/test/java/net/lecousin/framework/core/tests/io/data/TestByteArrayReadable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void testFromByteBuffer() {
4747
Assert.assertEquals(1, b.position());
4848
rb.get();
4949
rb.setPosition(b);
50-
Assert.assertEquals(1, b.position());
50+
Assert.assertEquals(2, b.position());
5151
}
5252

5353
}

net.lecousin.core/src/test/java/net/lecousin/framework/core/tests/io/data/TestCharArrayReadable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void testFromCharBuffer() {
4848
Assert.assertEquals(1, b.position());
4949
rb.get();
5050
rb.setPosition(b);
51-
Assert.assertEquals(1, b.position());
51+
Assert.assertEquals(2, b.position());
5252
}
5353

5454
}

0 commit comments

Comments
 (0)