Skip to content

Commit

Permalink
update the formatter...
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Jan 11, 2025
1 parent 2ff11fa commit f360e18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_display_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@ namespace {
EXPECT_NO_THROW(std::get<display_device::failed_to_parse_tag_t>(result));
}
else {
const auto& [expected_resolution, expected_refresh_rate] = std::get<final_values_t>(expected_value);
const auto& parsed_config = std::get<display_device::SingleDisplayConfiguration>(result);
const auto &[expected_resolution, expected_refresh_rate] = std::get<final_values_t>(expected_value);
const auto &parsed_config = std::get<display_device::SingleDisplayConfiguration>(result);

EXPECT_EQ(parsed_config.m_resolution, expected_resolution);
EXPECT_EQ(parsed_config.m_refresh_rate, expected_refresh_rate ? std::make_optional(display_device::FloatingPoint { *expected_refresh_rate }) : std::nullopt);
Expand Down

0 comments on commit f360e18

Please sign in to comment.