Skip to content

Commit

Permalink
more clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Aug 7, 2024
1 parent a1c840f commit 0d52a11
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/output_test_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0d52a11

Please sign in to comment.