Skip to content

Commit

Permalink
update closeSmoke test point
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Jun 18, 2024
1 parent 9c570bc commit 96fadfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions matlab/test/arrow/io/ipc/tRecordBatchFileWriter.m
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,11 @@ function closeSmoke(testCase)
fname = fullfile(folder, "data.arrow");
schema = arrow.schema(arrow.field("A", arrow.float64()));
writer = arrow.io.ipc.RecordBatchFileWriter(fname, schema);
arrowTable = arrow.table(table([1 2 3 4]', VariableNames="A"));
writer.write(arrowTable);
fcn = @() writer.close();
testCase.verifyWarningFree(fcn);
writer.close();
end
end
end

0 comments on commit 96fadfe

Please sign in to comment.