We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 008893c commit 2b0980dCopy full SHA for 2b0980d
cpp/src/arrow/table_test.cc
@@ -306,11 +306,9 @@ TEST(TestTableEqualityFloatType, Approximate) {
306
307
ASSERT_FALSE(table->Equals(*other_table, options));
308
309
- options = options.use_atol(true).atol(1e-3);
310
- ASSERT_TRUE(table->Equals(*other_table, options));
+ ASSERT_TRUE(table->Equals(*other_table, options.use_atol(true).atol(1e-3)));
311
312
- options = options.use_atol(true).atol(1e-5);
313
- ASSERT_FALSE(table->Equals(*other_table, options));
+ ASSERT_FALSE(table->Equals(*other_table, options.use_atol(true).atol(1e-5));
314
}
315
316
TEST(TestTableEqualitySameAddress, NonFloatType) {
0 commit comments