Skip to content

Commit 008893c

Browse files
committed
fix typo
1 parent eeb2542 commit 008893c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpp/src/arrow/table_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ TEST_F(TestTable, AllColumnsAndFields) {
154154
}
155155

156156
TEST(TestTableEquality, Equals) {
157-
const int length = 10;
157+
const int32_t length = 10;
158158

159159
auto f0 = field("f0", int32());
160160
auto f1 = field("f1", uint8());
@@ -198,7 +198,7 @@ TEST(TestTableEquality, Equals) {
198198
}
199199

200200
TEST(TestTableEquality, MetadataAndSchema) {
201-
const int length = 10;
201+
const int32_t length = 10;
202202

203203
auto f0 = field("f0", int32());
204204
auto f1 = field("f1", uint8());
@@ -254,6 +254,7 @@ TEST(TestTableEqualityFloatType, SameValue) {
254254
schema, {R"([{"f0": 1, "f1": 4.0}, {"f0": 2, "f1": 5.0}, {"f0": 3, "f1": 6.0}])"});
255255
auto other_table = TableFromJSON(
256256
schema, {R"([{"f0": 1, "f1": 4.0}, {"f0": 2, "f1": 5.0}, {"f0": 3, "f1": 6.0}])"});
257+
257258
ASSERT_TRUE(table->Equals(*other_table));
258259
}
259260

0 commit comments

Comments
 (0)