fix tests

This commit is contained in:
Pearl Dsilva 2026-01-13 16:49:20 -05:00 committed by dahn
parent f059f4a4c1
commit 10986aed33
1 changed files with 2 additions and 1 deletions

View File

@ -62,9 +62,10 @@ public class ByteBufferTest {
// and was used to remove these cases from the production code.
// Don't try to fix it
@Test
@SuppressWarnings("BadShiftAmount")
public void testShiftByteBy32BitsDoesNothing() throws Exception {
for (byte b : data) {
assertEquals(b, (long) b << 32);
assertEquals(b, b << 32);
}
}