From f3193ef61122f3d9e035c525774beb4115659fdf Mon Sep 17 00:00:00 2001 From: seb777 Date: Mon, 12 Sep 2011 19:38:38 +0200 Subject: [PATCH] Remove invalid test case. The code does not compile. In addition, it's a "todo test case". --- test/testtokenize.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index b8eed846d..c98d8214e 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -5689,9 +5689,6 @@ private: tokenizeAndStringify("int f(int a) { return 0 * a; }", true)); ASSERT_EQUALS("bool f ( int i ) { switch ( i ) { case 15 : ; return true ; } }", tokenizeAndStringify("bool f(int i) { switch (i) { case 10 + 5: return true; } }", true)); - TODO_ASSERT_EQUALS("bool f ( int i ) { ; switch ( i ) { case 15 : ; return true ; } }", - "bool f ( int i ) { int a ; a = 10 ; int b ; b = 5 ; switch ( i ) { case a + b : return true ; } }", - tokenizeAndStringify("bool f(int i) { int a = 10; int b = 5; switch (i) { case a + b: return true; } }", true)); } void simplifyCompoundAssignment()