Skip to content

Commit 52677e1

Browse files
committed
Update src/iceberg/test/update_location_test.cc
1 parent 817b920 commit 52677e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/iceberg/test/update_location_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ TEST_F(UpdateLocationTest, MultipleUpdatesSequentially) {
109109

110110
ICEBERG_UNWRAP_OR_FAIL(auto update, table_->NewUpdateLocation());
111111
update->SetLocation(first_location);
112-
ICEBERG_UNWRAP_OR_FAIL(auto result, update1->Apply());
112+
ICEBERG_UNWRAP_OR_FAIL(auto result, update->Apply());
113113
EXPECT_EQ(result, first_location);
114114
EXPECT_THAT(update->Commit(), IsOk());
115115

116116
// Reload and verify
117-
ICEBERG_UNWRAP_OR_FAIL(reloaded, catalog_->LoadTable(table_ident_));
117+
ICEBERG_UNWRAP_OR_FAIL(auto reloaded, catalog_->LoadTable(table_ident_));
118118
EXPECT_EQ(reloaded->location(), first_location);
119119

120120
// Second update

0 commit comments

Comments
 (0)