Skip to content

Commit

Permalink
Update test case name and comment for testing for arrow:io:ipc:EndOfS…
Browse files Browse the repository at this point in the history
…tream error.
  • Loading branch information
kevingurney committed Dec 18, 2024
1 parent 9531e70 commit 2c49160
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions matlab/test/arrow/io/ipc/tRecordBatchStreamReader.m
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ function SchemaNoSetter(testCase)
testCase.verifyError(@() setfield(reader, "Schema", schema), "MATLAB:class:SetProhibited");
end

function ReadZeroBatchStreamFile(testCase, RecordBatchReadFcn)
% Verify read can successfully read an Arrow IPC Stream file
% containing zero batches.
function ReadErrorIfEndOfStream(testCase, RecordBatchReadFcn)
% Verify read throws an execption with the identifier arrow:io:ipc:EndOfStream
% on an Arrow IPC Stream file containing zero batches.
reader = arrow.io.ipc.RecordBatchStreamReader(testCase.ZeroBatchStreamFile);
fcn = @() RecordBatchReadFcn(reader);
testCase.verifyError(fcn, "arrow:io:ipc:EndOfStream");
Expand Down Expand Up @@ -333,4 +333,4 @@ function ErrorIfNotIpcStreamFile(testCase)

end

end
end

0 comments on commit 2c49160

Please sign in to comment.