Fixed two invalid TODO tests
This commit is contained in:
parent
542cb1cd8e
commit
15f397ab18
|
@ -2224,7 +2224,7 @@ private:
|
||||||
|
|
||||||
checkSimplifyTypedef(code1);
|
checkSimplifyTypedef(code1);
|
||||||
ASSERT_EQUALS(expected1, tok(code1));
|
ASSERT_EQUALS(expected1, tok(code1));
|
||||||
TODO_ASSERT_EQUALS("[test.cpp:7]: (debug) Scope::checkVariable found variable 'd' with varid 0.\n", "", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
|
|
||||||
const char code2[] = "class A {\n"
|
const char code2[] = "class A {\n"
|
||||||
"public:\n"
|
"public:\n"
|
||||||
|
@ -2243,7 +2243,7 @@ private:
|
||||||
|
|
||||||
checkSimplifyTypedef(code2);
|
checkSimplifyTypedef(code2);
|
||||||
ASSERT_EQUALS(expected2, tok(code2));
|
ASSERT_EQUALS(expected2, tok(code2));
|
||||||
TODO_ASSERT_EQUALS("[test.cpp:7]: (debug) Scope::checkVariable found variable 'd' with varid 0.\n", "", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
|
|
||||||
const char code3[] = "class A {\n"
|
const char code3[] = "class A {\n"
|
||||||
"public:\n"
|
"public:\n"
|
||||||
|
|
Loading…
Reference in New Issue