[pre-commit.ci] pre-commit autoupdate (#2192)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3a836b8fbb
commit
8bf3040da1
@@ -77,10 +77,8 @@ 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user