Skip to content

Commit f9bce0f

Browse files
committed
update old test
1 parent 422e90c commit f9bce0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testincompletestatement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ class TestIncompleteStatement : public TestFixture {
492492
"void f(int i) {\n"
493493
" (M::N::T)i;\n"
494494
"}\n");
495-
ASSERT_EQUALS("[test.cpp:5:5]: (warning) Redundant code: Found unused cast in expression '(char)i'. [constStatement]\n", errout_str());
495+
ASSERT_EQUALS("[test.cpp:5:5]: (warning) Redundant code: Found unused cast in expression '(T)i'. [constStatement]\n", errout_str());
496496

497497
check("void f(int (g)(int a, int b)) {\n" // #10873
498498
" int p = 0, q = 1;\n"

0 commit comments

Comments
 (0)