Skip to content

Commit 4d3cc1d

Browse files
committed
cpplint
Change-Id: I4b2e3d7b192c6bd694e51235a3348cf784b492c7
1 parent 2ec1aad commit 4d3cc1d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cpp/src/arrow/ipc/ipc-file-test.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class TestFileFormat : public ::testing::TestWithParam<MakeRecordBatch*> {
5555

5656
Status RoundTripHelper(const RecordBatch& batch, int memory_map_size,
5757
std::vector<std::shared_ptr<RecordBatch>>* out_batches) {
58-
5958
// Write the file
6059
RETURN_NOT_OK(FileWriter::Open(sink_.get(), batch.schema(), &file_writer_));
6160
int num_batches = 3;
@@ -85,11 +84,11 @@ class TestFileFormat : public ::testing::TestWithParam<MakeRecordBatch*> {
8584
void CompareBatch(const RecordBatch* left, const RecordBatch* right) {
8685
ASSERT_TRUE(left->schema()->Equals(right->schema()));
8786
ASSERT_EQ(left->num_columns(), right->num_columns())
88-
<< left->schema()->ToString() << " result: " << right->schema()->ToString();
87+
<< left->schema()->ToString() << " result: " << right->schema()->ToString();
8988
EXPECT_EQ(left->num_rows(), right->num_rows());
9089
for (int i = 0; i < left->num_columns(); ++i) {
9190
EXPECT_TRUE(left->column(i)->Equals(right->column(i)))
92-
<< "Idx: " << i << " Name: " << left->column_name(i);
91+
<< "Idx: " << i << " Name: " << left->column_name(i);
9392
}
9493
}
9594

@@ -103,7 +102,6 @@ class TestFileFormat : public ::testing::TestWithParam<MakeRecordBatch*> {
103102
std::shared_ptr<FileReader> file_reader_;
104103
};
105104

106-
107105
TEST_P(TestFileFormat, RoundTrip) {
108106
std::shared_ptr<RecordBatch> batch;
109107
ASSERT_OK((*GetParam())(&batch)); // NOLINT clang-tidy gtest issue

0 commit comments

Comments
 (0)