JavaScript Test - change eval tests to work around anonfunfix, bug 356247

This commit is contained in:
bclary@bclary.com 2007-05-31 12:24:01 -07:00
parent f49133d34f
commit ab6818db3a

View File

@ -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);