Skip to content

Commit 15f397a

Browse files
committed
Fixed two invalid TODO tests
1 parent 542cb1c commit 15f397a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testsimplifytypedef.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ class TestSimplifyTypedef : public TestFixture {
22242224

22252225
checkSimplifyTypedef(code1);
22262226
ASSERT_EQUALS(expected1, tok(code1));
2227-
TODO_ASSERT_EQUALS("[test.cpp:7]: (debug) Scope::checkVariable found variable 'd' with varid 0.\n", "", errout.str());
2227+
ASSERT_EQUALS("", errout.str());
22282228

22292229
const char code2[] = "class A {\n"
22302230
"public:\n"
@@ -2243,7 +2243,7 @@ class TestSimplifyTypedef : public TestFixture {
22432243

22442244
checkSimplifyTypedef(code2);
22452245
ASSERT_EQUALS(expected2, tok(code2));
2246-
TODO_ASSERT_EQUALS("[test.cpp:7]: (debug) Scope::checkVariable found variable 'd' with varid 0.\n", "", errout.str());
2246+
ASSERT_EQUALS("", errout.str());
22472247

22482248
const char code3[] = "class A {\n"
22492249
"public:\n"

0 commit comments

Comments
 (0)