Skip to content

Commit cf39ad3

Browse files
committed
chore: lint
1 parent c26e18b commit cf39ad3

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

google/cloud/bigtable/tests/data_integration_test.cc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ TEST_P(DataIntegrationTest, ClientQueryColumnFamily) {
648648
Project project(project_id());
649649
InstanceResource instance_resource(project, instance_id());
650650

651-
652651
auto prepared_query = client.PrepareQuery(
653652
instance_resource,
654653
SqlStatement("SELECT family4 AS c0 FROM " + quoted_table_name +
@@ -762,13 +761,15 @@ TEST_P(DataIntegrationTest, ClientQueryColumnFamilyWithHistory) {
762761
ASSERT_TRUE(value_hist.ok()) << value_hist.status().message();
763762
Value const& bigtable_val = *value_hist;
764763
using HistoryEntry = std::tuple<Timestamp, std::string>;
765-
auto history_map = bigtable_val.get<std::map<std::string, std::vector<HistoryEntry>>>();
764+
auto history_map =
765+
bigtable_val.get<std::map<std::string, std::vector<HistoryEntry>>>();
766766
ASSERT_TRUE(history_map.ok()) << history_array.status().message();
767767
ASSERT_EQ(history_map->size(), 2);
768768

769769
// Verify cells returned ordered from newest to oldest.
770770
auto const& c1_entry0 = (*history_map)["c1"][0];
771-
auto ts_new = std::get<0>(c1_entry0).get<sys_time<std::chrono::microseconds>>();
771+
auto ts_new =
772+
std::get<0>(c1_entry0).get<sys_time<std::chrono::microseconds>>();
772773
ASSERT_STATUS_OK(ts_new);
773774
auto expected_current_time_ms =
774775
duration_cast<milliseconds>(std::chrono::microseconds(current_time));
@@ -777,7 +778,8 @@ TEST_P(DataIntegrationTest, ClientQueryColumnFamilyWithHistory) {
777778
EXPECT_EQ(std::get<1>(c1_entry0), column_1_value_new);
778779

779780
auto const& c1_entry1 = (*history_map)["c1"][1];
780-
auto ts_old = std::get<0>(c1_entry1).get<sys_time<std::chrono::microseconds>>();
781+
auto ts_old =
782+
std::get<0>(c1_entry1).get<sys_time<std::chrono::microseconds>>();
781783
ASSERT_STATUS_OK(ts_old);
782784
auto expected_old_time_ms =
783785
duration_cast<milliseconds>(std::chrono::microseconds(old_time));
@@ -787,7 +789,8 @@ TEST_P(DataIntegrationTest, ClientQueryColumnFamilyWithHistory) {
787789

788790
// Verify cells returned ordered from newest to oldest.
789791
auto const& c2_entry0 = (*history_map)["c2"][0];
790-
auto ts_new = std::get<0>(c2_entry0).get<sys_time<std::chrono::microseconds>>();
792+
auto ts_new =
793+
std::get<0>(c2_entry0).get<sys_time<std::chrono::microseconds>>();
791794
ASSERT_STATUS_OK(ts_new);
792795
auto expected_current_time_ms =
793796
duration_cast<milliseconds>(std::chrono::microseconds(current_time));
@@ -796,7 +799,8 @@ TEST_P(DataIntegrationTest, ClientQueryColumnFamilyWithHistory) {
796799
EXPECT_EQ(std::get<1>(c2_entry0), column_2_value_new);
797800

798801
auto const& c2_entry1 = (*history_map)["c2"][1];
799-
auto ts_old = std::get<0>(c2_entry1).get<sys_time<std::chrono::microseconds>>();
802+
auto ts_old =
803+
std::get<0>(c2_entry1).get<sys_time<std::chrono::microseconds>>();
800804
ASSERT_STATUS_OK(ts_old);
801805
auto expected_old_time_ms =
802806
duration_cast<milliseconds>(std::chrono::microseconds(old_time));

0 commit comments

Comments
 (0)