From 0cfa241abb929d591219cbdb2ff5398de40d6207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 25 Mar 2009 18:15:49 +0100 Subject: [PATCH] variable id: enabled test case for function parameters --- test/testtokenize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index b095a0095..059465933 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -102,7 +102,7 @@ private: TEST_CASE(varid3); TEST_CASE(varid4); TEST_CASE(varid5); - // TODO TEST_CASE(varid6); // Function parameters aren't handled well yet + TEST_CASE(varid6); TEST_CASE(varid7); TEST_CASE(varidReturn); TEST_CASE(varid8); @@ -937,7 +937,7 @@ private: // result.. const std::string actual(tokenizer.tokens()->stringifyList(true)); const std::string expected("\n\n##file 0\n" - "1: void f ( int a@1 , int b@2 )\n" + "1: int f ( int a@1 , int b@2 )\n" "2: {\n" "3: return a@1 + b@2 ;\n" "4: }\n");