Skip to content

Commit b8224e6

Browse files
Update testother.cpp
1 parent 916ab00 commit b8224e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testother.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4894,7 +4894,7 @@ class TestOther : public TestFixture {
48944894
"}\n");
48954895
ASSERT_EQUALS("[test.cpp:6:10]: (style) Parameter 's' can be declared as reference to const [constParameterReference]\n",
48964896
errout_str());
4897-
4897+
48984898
check("struct S { std::string a; };\n" // #13678
48994899
"struct T { S s; };\n"
49004900
"bool f(S* s) {\n"
@@ -4924,7 +4924,7 @@ class TestOther : public TestFixture {
49244924
" }\n"
49254925
" int* m;\n"
49264926
"};\n");
4927-
ASSERT_EQUALS("[test.cpp:2:13]: (style) Either there is a missing override/final keyword, or the parameter 'p' can be declared as pointer to const [constParameterPointer]\n",
4927+
ASSERT_EQUALS("[test.cpp:2:17]: (style) Either there is a missing override/final keyword, or the parameter 'p' can be declared as pointer to const [constParameterPointer]\n",
49284928
errout_str());
49294929
}
49304930

0 commit comments

Comments
 (0)