Merge pull request #444 from simartin/testsymboldatabase_valid

Make TestSymbolDatabase::hasClassFunction's code snippet valid.
This commit is contained in:
amai2012 2014-09-21 21:50:53 +02:00
commit 0818102758
1 changed files with 1 additions and 1 deletions

View File

@ -814,7 +814,7 @@ private:
} }
void hasClassFunction() { void hasClassFunction() {
GET_SYMBOL_DB("class Fred { void func(); }; Fred::func() { }\n") GET_SYMBOL_DB("class Fred { void func(); }; void Fred::func() { }\n")
// 3 scopes: Global, Class, and Function // 3 scopes: Global, Class, and Function
ASSERT(db && db->scopeList.size() == 3); ASSERT(db && db->scopeList.size() == 3);