Skip to content

Commit d4049de

Browse files
committed
add test
1 parent de0ce65 commit d4049de

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/test/java/io/delta/sharing/java/format/parquet/LocalInputFileTestCase.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import org.junit.jupiter.api.Assertions;
99
import org.junit.jupiter.api.Test;
1010

11-
/**
11+
/**
1212
* Test cases for local Input File.
1313
*
1414
* @throws IOException for all IO problems
@@ -59,6 +59,8 @@ public void testReadByteBuffers() throws IOException {
5959
ByteBuffer byteBuffer = ByteBuffer.allocateDirect(8192 * 4);
6060
SeekableInputStream stream = localInputFile.newStream();
6161

62+
Assertions.assertDoesNotThrow(() -> stream.reset(), "assert no exception for reset");
63+
6264
Assertions.assertDoesNotThrow(() -> stream.read(byteBuffer),
6365
"assert no exception for read with byte buffer");
6466

0 commit comments

Comments
 (0)