From 8d9ad2ae0da05e23a8cda279c106c821ac5d5a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 19 Apr 2013 06:42:09 +0200 Subject: [PATCH] TestTokenizer: Renamed test functions so they match the function names used in the Tokenizer (simplifyRoundCurlyParentheses) --- test/testtokenize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index 03532ef7d..38dbd72fe 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -451,7 +451,7 @@ private: TEST_CASE(simplifyCompoundAssignment); // x = ({ 123; }); => { x = 123; } - TEST_CASE(simplifyAssignmentBlock); + TEST_CASE(simplifyRoundCurlyParentheses); TEST_CASE(simplifyOperatorName1); TEST_CASE(simplifyOperatorName2); @@ -7287,7 +7287,7 @@ private: ASSERT_EQUALS("; x = g ( ) ; f ( x ) ;", tokenizeAndStringify(";f(x=g());")); } - void simplifyAssignmentBlock() { + void simplifyRoundCurlyParentheses() { ASSERT_EQUALS("; x = 123 ;", tokenizeAndStringify(";x=({123;});")); ASSERT_EQUALS("; x = y ;", tokenizeAndStringify(";x=({y;});")); }