Skip to content

Commit 53119fd

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 8949103 commit 53119fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/src/test/java/org/elasticsearch/common/io/stream/BytesStreamOutputTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ public void testSeekWithOverflow() {
122122
int byteArrayLength = randomIntBetween(0, 100);
123123
byte[] byteArray = randomByteArrayOfLength(byteArrayLength);
124124
s.writeBytes(byteArray, 0, byteArrayLength);
125-
assertThrows(IllegalArgumentException.class, () -> s.seek(randomLongBetween((long) Integer.MAX_VALUE + 1, (long) Integer.MAX_VALUE + 100)));
125+
assertThrows(
126+
IllegalArgumentException.class,
127+
() -> s.seek(randomLongBetween((long) Integer.MAX_VALUE + 1, (long) Integer.MAX_VALUE + 100))
128+
);
126129
}
127130

128131
public void testSkip() {

0 commit comments

Comments
 (0)