Skip to content

Commit

Permalink
Update testother.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 11, 2024
1 parent 4173e7c commit 3180933
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/testother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9059,7 +9059,9 @@ class TestOther : public TestFixture {
" const std::string w(s->f());\n"
" if (w.empty()) {}\n"
"}\n");
ASSERT_EQUALS("[test.cpp:6]: (performance, inconclusive) Use const reference for 's' to avoid unnecessary data copying.\n", errout_str());
ASSERT_EQUALS("[test.cpp:6]: (performance, inconclusive) Use const reference for 'v' to avoid unnecessary data copying.\n"
"[test.cpp:10]: (performance, inconclusive) Use const reference for 'w' to avoid unnecessary data copying.\n",
errout_str());
}

void checkNegativeShift() {
Expand Down

0 comments on commit 3180933

Please sign in to comment.