extracttests; Fix syntax error in new unit test
This commit is contained in:
parent
105bb78775
commit
11c0cc3a6e
|
@ -1284,6 +1284,7 @@ private:
|
||||||
"}");
|
"}");
|
||||||
ASSERT_EQUALS("[test.cpp:4]: (error) Uninitialized variable: learn\n", errout.str());
|
ASSERT_EQUALS("[test.cpp:4]: (error) Uninitialized variable: learn\n", errout.str());
|
||||||
|
|
||||||
|
// extracttests.start: struct Entry { Entry *next; }; Entry *buckets;
|
||||||
checkUninitVar("void foo() {\n"
|
checkUninitVar("void foo() {\n"
|
||||||
" Entry *entry, *nextEntry;\n"
|
" Entry *entry, *nextEntry;\n"
|
||||||
" for(int i = 0; i < 10; i++) {\n"
|
" for(int i = 0; i < 10; i++) {\n"
|
||||||
|
|
Loading…
Reference in New Issue