From 3918aa49538121381f90391e16646208b3cff444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 9 Dec 2010 06:13:33 +0100 Subject: [PATCH] memory leaks: fixed test that I broke in my last commit --- test/testmemleak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testmemleak.cpp b/test/testmemleak.cpp index ff4a124bd..b1a8d3dda 100644 --- a/test/testmemleak.cpp +++ b/test/testmemleak.cpp @@ -668,7 +668,7 @@ private: ASSERT_EQUALS(";", simplifycode("; loop { if { continue ; } else { if continue ; } }")); ASSERT_EQUALS(";", simplifycode("; loop { { if continue ; if continue ; } }")); - ASSERT_EQUALS(";", simplifycode("; while1 { if { dealloc ; return ; } if { if { continue ; } } }")); + ASSERT_EQUALS("; use ;", simplifycode("; while1 { if { dealloc ; return ; } if { if { continue ; } } }")); // scope.. // current result - ok