@@ -274,7 +274,7 @@ class TestUnusedPrivateFunction : public TestFixture {
274274 " Fred::Fred()\n "
275275 " {}\n " );
276276
277- ASSERT_EQUALS (" [test.cpp:6:12] -> [test.cpp:6:12] : (style) Unused private function: 'Fred::get' [unusedPrivateFunction]\n " , errout_str ());
277+ ASSERT_EQUALS (" [test.cpp:6:12]: (style) Unused private function: 'Fred::get' [unusedPrivateFunction]\n " , errout_str ());
278278 }
279279
280280
@@ -407,7 +407,7 @@ class TestUnusedPrivateFunction : public TestFixture {
407407 " C() = default;\n "
408408 " void f() const { (void)this; }\n "
409409 " };\n " );
410- ASSERT_EQUALS (" [test.cpp:3:10] -> [test.cpp:3:10] : (style) Unused private function: 'C::f' [unusedPrivateFunction]\n " , errout_str ());
410+ ASSERT_EQUALS (" [test.cpp:3:10]: (style) Unused private function: 'C::f' [unusedPrivateFunction]\n " , errout_str ());
411411 }
412412
413413
@@ -424,7 +424,7 @@ class TestUnusedPrivateFunction : public TestFixture {
424424 " static void f()\n "
425425 " { }\n "
426426 " };\n " );
427- ASSERT_EQUALS (" [test.cpp:10:17] -> [test.cpp:10:17] : (style) Unused private function: 'A::f' [unusedPrivateFunction]\n " , errout_str ());
427+ ASSERT_EQUALS (" [test.cpp:10:17]: (style) Unused private function: 'A::f' [unusedPrivateFunction]\n " , errout_str ());
428428
429429 check (" class A\n "
430430 " {\n "
@@ -460,7 +460,7 @@ class TestUnusedPrivateFunction : public TestFixture {
460460 " class I { I() = default; };\n "
461461 " void f() const { (void)this; }\n "
462462 " };\n " );
463- ASSERT_EQUALS (" [test.cpp:3:10] -> [test.cpp:3:10] : (style) Unused private function: 'C::f' [unusedPrivateFunction]\n " , errout_str ());
463+ ASSERT_EQUALS (" [test.cpp:3:10]: (style) Unused private function: 'C::f' [unusedPrivateFunction]\n " , errout_str ());
464464 }
465465
466466
@@ -501,7 +501,7 @@ class TestUnusedPrivateFunction : public TestFixture {
501501 " void foo() {}\n " // Skip for overrides of virtual functions of base
502502 " void bar() {}\n " // Don't skip if no function is overridden
503503 " };\n " );
504- ASSERT_EQUALS (" [test.cpp:9:10] -> [test.cpp:9:10] : (style) Unused private function: 'derived::bar' [unusedPrivateFunction]\n " , errout_str ());
504+ ASSERT_EQUALS (" [test.cpp:9:10]: (style) Unused private function: 'derived::bar' [unusedPrivateFunction]\n " , errout_str ());
505505
506506 check (" class Base {\n "
507507 " private:\n "
@@ -576,7 +576,7 @@ class TestUnusedPrivateFunction : public TestFixture {
576576 " friend Bar;\n "
577577 " void f() { }\n "
578578 " };\n " );
579- ASSERT_EQUALS (" [test.cpp:5:10] -> [test.cpp:5:10] : (style) Unused private function: 'Foo::f' [unusedPrivateFunction]\n " , errout_str ());
579+ ASSERT_EQUALS (" [test.cpp:5:10]: (style) Unused private function: 'Foo::f' [unusedPrivateFunction]\n " , errout_str ());
580580
581581 check (" struct F;\n " // #10265
582582 " struct S {\n "
@@ -663,7 +663,7 @@ class TestUnusedPrivateFunction : public TestFixture {
663663 " void startListening() {\n "
664664 " }\n "
665665 " };\n " );
666- ASSERT_EQUALS (" [test.cpp:8:10] -> [test.cpp:8:10] : (style) Unused private function: 'Fred::startListening' [unusedPrivateFunction]\n " , errout_str ());
666+ ASSERT_EQUALS (" [test.cpp:8:10]: (style) Unused private function: 'Fred::startListening' [unusedPrivateFunction]\n " , errout_str ());
667667
668668 // #5059
669669 check (" class Fred {\n "
@@ -813,7 +813,7 @@ class TestUnusedPrivateFunction : public TestFixture {
813813 " };\n "
814814 " int Foo::i = sth();\n "
815815 " int i = F();\n " );
816- ASSERT_EQUALS (" [test.cpp:3:16] -> [test.cpp:3:16] : (style) Unused private function: 'Foo::F' [unusedPrivateFunction]\n " , errout_str ());
816+ ASSERT_EQUALS (" [test.cpp:3:16]: (style) Unused private function: 'Foo::F' [unusedPrivateFunction]\n " , errout_str ());
817817 }
818818
819819 void templateSimplification () { // ticket #6183
0 commit comments