From 0d52a112cd1df23cf6eec0974905b2d80bd05c5d Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Wed, 7 Aug 2024 16:54:33 +0100 Subject: [PATCH] more clang-format --- test/output_test_helper.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/output_test_helper.cc b/test/output_test_helper.cc index 4fcd0d8f3..cc61bb9c3 100644 --- a/test/output_test_helper.cc +++ b/test/output_test_helper.cc @@ -108,20 +108,21 @@ void CheckCase(std::stringstream& remaining_output, TestCase const& TC, for (const auto& NC : not_checks) { BM_CHECK(!NC.regex->Match(line)) << "Unexpected match for line \"" << line << "\" for MR_Not regex \"" - << NC.regex_str << "\"" << "\n actual regex string \"" - << TC.substituted_regex << "\"" + << NC.regex_str << "\"" + << "\n actual regex string \"" << TC.substituted_regex << "\"" << "\n started matching near: " << first_line; } if (TC.regex->Match(line)) return; BM_CHECK(TC.match_rule != MR_Next) << "Expected line \"" << line << "\" to match regex \"" << TC.regex_str - << "\"" << "\n actual regex string \"" << TC.substituted_regex - << "\"" << "\n started matching near: " << first_line; + << "\"" + << "\n actual regex string \"" << TC.substituted_regex << "\"" + << "\n started matching near: " << first_line; } BM_CHECK(remaining_output.eof() == false) << "End of output reached before match for regex \"" << TC.regex_str - << "\" was found" << "\n actual regex string \"" - << TC.substituted_regex << "\"" + << "\" was found" + << "\n actual regex string \"" << TC.substituted_regex << "\"" << "\n started matching near: " << first_line; }