Skip to content

Commit

Permalink
Fix incorrect comments for done method test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingurney committed Dec 18, 2024
1 parent 4c6af41 commit 380708e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matlab/test/arrow/io/ipc/tRecordBatchStreamReader.m
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function Done(testCase, RecordBatchReadFcn)
% batches in an Arrow IPC Stream format.

reader = arrow.io.ipc.RecordBatchStreamReader(testCase.ZeroBatchStreamFile);
% done should return true 0 times for a 0 batch file.
% done should return false 0 times for a 0 batch file.
iterations = 0;
while ~reader.done()
RecordBatchReadFcn(reader);
Expand All @@ -220,7 +220,7 @@ function Done(testCase, RecordBatchReadFcn)
testCase.verifyEqual(iterations, 0);

reader = arrow.io.ipc.RecordBatchStreamReader(testCase.OneBatchStreamFile);
% done should return true 0 times for a 1 batch file.
% done should return false 1 time for a 1 batch file.
iterations = 0;
while ~reader.done()
RecordBatchReadFcn(reader);
Expand All @@ -229,7 +229,7 @@ function Done(testCase, RecordBatchReadFcn)
testCase.verifyEqual(iterations, 1);

reader = arrow.io.ipc.RecordBatchStreamReader(testCase.MultipleBatchStreamFile);
% done should return true 2 times for a 2 batch file.
% done should return false 2 times for a 2 batch file.
iterations = 0;
while ~reader.done()
RecordBatchReadFcn(reader);
Expand Down

0 comments on commit 380708e

Please sign in to comment.