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 Aug 28, 2024
1 parent 67f95f0 commit 39e01b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ class TestOther : public TestFixture {
" char a[20];\n"
"};\n");
ASSERT_EQUALS("", errout_str());

check("void f(const std::vector<int> v[2]);\n" // #13052
"int g(const std::array<std::vector<int>, 2> a) { return a[0][0]; }\n");
ASSERT_EQUALS("[test.cpp:2]: (performance) Function parameter 'a' should be passed by const reference.\n", errout_str());
Expand Down

0 comments on commit 39e01b9

Please sign in to comment.