From ab6818db3a7085e64bd64cee04460daf4ab82fec Mon Sep 17 00:00:00 2001 From: "bclary@bclary.com" Date: Thu, 31 May 2007 12:24:01 -0700 Subject: [PATCH] JavaScript Test - change eval tests to work around anonfunfix, bug 356247 --- js/tests/js1_7/decompilation/regress-356247.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/tests/js1_7/decompilation/regress-356247.js b/js/tests/js1_7/decompilation/regress-356247.js index 17ea68f0e9f..b1d1bbcba88 100755 --- a/js/tests/js1_7/decompilation/regress-356247.js +++ b/js/tests/js1_7/decompilation/regress-356247.js @@ -59,7 +59,7 @@ function test() actual = f + ''; compareSource(expect, actual, summary); - var g = eval(f + ''); + var g = eval('(' + f + ')'); actual = g + ''; compareSource(expect, actual, summary); @@ -68,7 +68,7 @@ function test() actual = f + ''; compareSource(expect, actual, summary); - g = eval(f + ''); + g = eval('(' + f + ')'); actual = g + ''; compareSource(expect, actual, summary);