Skip to content

Commit b795d30

Browse files
committed
Enable another zeroDivCond test which got fixed recently
1 parent 4c2fd21 commit b795d30

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/testother.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,9 +580,8 @@ class TestOther : public TestFixture {
580580
" f1(123,y);\n"
581581
" if (y>0){}\n"
582582
"}");
583-
TODO_ASSERT_EQUALS(
583+
ASSERT_EQUALS(
584584
"[test.cpp:4] -> [test.cpp:1]: (warning) Either the condition 'y>0' is redundant or there is division by zero at line 1.\n",
585-
"",
586585
errout.str());
587586

588587
// avoid false positives when variable is changed after division

0 commit comments

Comments
 (0)