Skip to content

Commit 05c6659

Browse files
committed
Fix ExportToStructArray test point
1 parent 0a32b35 commit 05c6659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matlab/test/arrow/c/tRoundTripRecordBatch.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ function ExportToStructArray(testCase)
157157
cArray = arrow.c.Array();
158158
cSchema = arrow.c.Schema();
159159
rb.export(cArray.Address, cSchema.Address)
160-
rb = arrow.array.Array.import(cArray, cSchema);
160+
structArray = arrow.array.Array.import(cArray, cSchema);
161161

162162
expected = arrow.array.StructArray.fromArrays(column1, column2, ...
163163
FieldNames=["Number" "Text"]);
164164

165-
testCase.verifyEqual(rb, expected);
165+
testCase.verifyEqual(structArray, expected);
166166
end
167167

168168
end

0 commit comments

Comments
 (0)