From 05c66591aa477cf5e7e76c81374e6cd9f597abe6 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Fri, 24 May 2024 13:47:53 -0400 Subject: [PATCH] Fix ExportToStructArray test point --- matlab/test/arrow/c/tRoundTripRecordBatch.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/test/arrow/c/tRoundTripRecordBatch.m b/matlab/test/arrow/c/tRoundTripRecordBatch.m index 55bd5e0c37b8b..5d95aecbe1603 100644 --- a/matlab/test/arrow/c/tRoundTripRecordBatch.m +++ b/matlab/test/arrow/c/tRoundTripRecordBatch.m @@ -157,12 +157,12 @@ function ExportToStructArray(testCase) cArray = arrow.c.Array(); cSchema = arrow.c.Schema(); rb.export(cArray.Address, cSchema.Address) - rb = arrow.array.Array.import(cArray, cSchema); + structArray = arrow.array.Array.import(cArray, cSchema); expected = arrow.array.StructArray.fromArrays(column1, column2, ... FieldNames=["Number" "Text"]); - testCase.verifyEqual(rb, expected); + testCase.verifyEqual(structArray, expected); end end