Skip to content

testrunner: added more IDs and columns to expected output#7452

Merged
firewave merged 1 commit intocppcheck-opensource:mainfrom
firewave:testrunner-id-xx
Apr 13, 2025
Merged

testrunner: added more IDs and columns to expected output#7452
firewave merged 1 commit intocppcheck-opensource:mainfrom
firewave:testrunner-id-xx

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread test/testother.cpp
check("struct T : public U { void dostuff() const {}};\n"
"void a(T& x) {\n"
" x.dostuff();\n"
" const U& y = (typename const U&)(x);\n"
"}");
ASSERT_EQUALS("[test.cpp:4]: (style) C-style reference casting\n"
"[test.cpp:2]: (style) Parameter 'x' can be declared as reference to const\n",
ASSERT_EQUALS("[test.cpp:4:0]: (style) C-style reference casting [cstyleCast]\n"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lacks the column. I filed https://trac.cppcheck.net/ticket/13766 about that.

@firewave firewave merged commit d3adf44 into cppcheck-opensource:main Apr 13, 2025
53 checks passed
@firewave firewave deleted the testrunner-id-xx branch April 13, 2025 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants