From 0222c50d4a44bdb84cd308f01f4270431acc6628 Mon Sep 17 00:00:00 2001 From: Simon Martin Date: Sat, 20 Sep 2014 14:51:58 +0200 Subject: [PATCH] Make TestSymbolDatabase::hasClassFunction's code snippet valid. --- test/testsymboldatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testsymboldatabase.cpp b/test/testsymboldatabase.cpp index 57f8014a7..dc35ae8a0 100644 --- a/test/testsymboldatabase.cpp +++ b/test/testsymboldatabase.cpp @@ -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);