Activate tests in TestTokenizer

This commit is contained in:
PKEuS 2011-12-18 17:54:24 +01:00 committed by Daniel Marjamäki
parent 7c95c6f680
commit 46c2bde118
1 changed files with 4 additions and 0 deletions

View File

@ -2991,16 +2991,19 @@ private:
void varid31() { // ticket #2831 (segmentation fault)
const std::string code("z<y<x>");
tokenizeDebugListing(code);
ASSERT_EQUALS("", errout.str());
}
void varid32() { // ticket #2835 (segmentation fault)
const std::string code("><,f<i,");
tokenizeDebugListing(code);
ASSERT_EQUALS("", errout.str());
}
void varid33() { // ticket #2875 (segmentation fault)
const std::string code("0; (a) < (a)");
tokenizeDebugListing(code);
ASSERT_EQUALS("", errout.str());
}
@ -3045,6 +3048,7 @@ private:
void varid36() { // ticket #2980 (segmentation fault)
const std::string code("#elif A\n"
"A,a<b<x0;\n");
tokenizeDebugListing(code);
ASSERT_EQUALS("", errout.str());
}