From 9991c3526cd0d4a773e17064327fd41fd091129d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 19:26:04 +0200 Subject: finally, perfect .clang-format settings? --- test/unit_tests/fixtures.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'test/unit_tests/fixtures.hpp') diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp index 8233f95..0c24b37 100644 --- a/test/unit_tests/fixtures.hpp +++ b/test/unit_tests/fixtures.hpp @@ -51,9 +51,11 @@ public: using AddressList = Set; static AddressList expected_function_addresses() { - return cast({reinterpret_cast(&test_ns::foo), - reinterpret_cast(&test_ns::bar), - reinterpret_cast(&test_ns::baz)}); + return cast( + {reinterpret_cast(&test_ns::foo), + reinterpret_cast(&test_ns::bar), + reinterpret_cast(&test_ns::baz)} + ); } static SymbolList expected_functions() { @@ -128,8 +130,9 @@ private: // That's pretty ad-hoc, but seems to work; based on // https://www.boost.org/doc/libs/1_70_0/libs/test/doc/html/boost_test/runtime_config/custom_command_line_arguments.html BOOST_TEST_REQUIRE(boost::unit_test::framework::master_test_suite().argc == 3); - BOOST_TEST_REQUIRE(boost::unit_test::framework::master_test_suite().argv[1] == - "--test_lib_pdb"); + BOOST_TEST_REQUIRE( + boost::unit_test::framework::master_test_suite().argv[1] == "--test_lib_pdb" + ); return boost::unit_test::framework::master_test_suite().argv[2]; } }; -- cgit v1.3