Fix bad cherry-pick that was done in f9ca270e62

This commit is contained in:
Norman Maurer 2021-05-28 09:34:59 +02:00
parent f9ca270e62
commit cba9cf1b6c

View File

@ -151,12 +151,7 @@ public class WrappedUnpooledUnsafeByteBufTest extends BigEndianUnsafeDirectByteB
@Test
@Override
public void testGetBytesByteBuffer() {
assertThrows(IndexOutOfBoundsException.class, new Executable() {
@Override
public void execute() {
WrappedUnpooledUnsafeByteBufTest.super.testGetBytesByteBuffer();
}
});
assertThrows(IndexOutOfBoundsException.class, super::testGetBytesByteBuffer);
}
@Test