diff test/script/basic/funcconstructor.js.EXPECTED @ 315:295c91f5fdde

8015345: Function("}),print('test'),({") should throw SyntaxError Reviewed-by: lagergren, hannesw, jlaskey
author sundar
date Mon, 03 Jun 2013 15:58:14 +0530
parents da1e581c933b
children
line wrap: on
line diff
--- a/test/script/basic/funcconstructor.js.EXPECTED	Fri May 31 13:04:55 2013 -0300
+++ b/test/script/basic/funcconstructor.js.EXPECTED	Mon Jun 03 15:58:14 2013 +0530
@@ -4,7 +4,7 @@
 print('anon func'); return x*x;
 }
 syntax error? true
-SyntaxError: <function>:2:13 Missing close quote
+SyntaxError: <function>:1:13 Missing close quote
 print('hello)
              ^
 done