From d43191a9e30ee6d80458a7f647ed56e4b82a41f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 14 Jan 2014 18:13:17 +0100 Subject: [PATCH] value flow: remove duplicate test case --- test/testvalueflow.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/testvalueflow.cpp b/test/testvalueflow.cpp index 537101621..3f3bdd2d2 100644 --- a/test/testvalueflow.cpp +++ b/test/testvalueflow.cpp @@ -183,13 +183,6 @@ private: "}"; ASSERT_EQUALS(false, testValueOfX(code, 2U, 0)); - code = "void f() {\n" // loop condition, x is assigned inside loop => dont use condition - " vimmenu_T *x = pMenu->parent;\n" - " for (index = 1; (index != itemIndex) && (pMenu != NULL); index++)\n" - " pMenu = pMenu->next;\n" - "}"; - ASSERT_EQUALS(false, testValueOfX(code, 2U, 0)); - code = "void f(int x) {\n" // condition inside loop, x is NOT assigned inside loop => use condition " a = x;\n" " do {\n"