Merge pull request #444 from simartin/testsymboldatabase_valid
Make TestSymbolDatabase::hasClassFunction's code snippet valid.
This commit is contained in:
commit
0818102758
|
@ -814,7 +814,7 @@ private:
|
|||
}
|
||||
|
||||
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
|
||||
ASSERT(db && db->scopeList.size() == 3);
|
||||
|
|
Loading…
Reference in New Issue