[pre-commit.ci] pre-commit autoupdate (#2394)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2024-05-19 14:44:09 +02:00
committed by GitHub
parent 2690e3d542
commit 9c1ca98801
5 changed files with 21 additions and 15 deletions

View File

@@ -78,8 +78,10 @@ std::string simpleDiff(const Value& result, const Value& expected) {
}
if (resultTokens[i] != expectedTokens[i]) {
diff << "<b>" << "-" << expectedTokens[i] << "</b>" << std::endl;
diff << "<b>" << "+" << resultTokens[i] << "</b>" << std::endl;
diff << "<b>"
<< "-" << expectedTokens[i] << "</b>" << std::endl;
diff << "<b>"
<< "+" << resultTokens[i] << "</b>" << std::endl;
} else {
diff << resultTokens[i] << std::endl;
}