From 380708e6c7110b631e14e510ce29ddceafd99f2d Mon Sep 17 00:00:00 2001 From: Kevin Gurney Date: Wed, 18 Dec 2024 15:18:47 -0500 Subject: [PATCH] Fix incorrect comments for done method test case. --- matlab/test/arrow/io/ipc/tRecordBatchStreamReader.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matlab/test/arrow/io/ipc/tRecordBatchStreamReader.m b/matlab/test/arrow/io/ipc/tRecordBatchStreamReader.m index 1fa359a87f0e9..6ca67197739ae 100644 --- a/matlab/test/arrow/io/ipc/tRecordBatchStreamReader.m +++ b/matlab/test/arrow/io/ipc/tRecordBatchStreamReader.m @@ -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); @@ -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); @@ -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);