nashorn/test/script/basic/JDK-8006755.js
changeset 16530 201d682e75f4
parent 16191 7dd981da8e11
--- a/nashorn/test/script/basic/JDK-8006755.js	Tue Mar 19 11:03:24 2013 -0300
+++ b/nashorn/test/script/basic/JDK-8006755.js	Sat Mar 23 00:58:39 2013 +0100
@@ -31,7 +31,7 @@
 var scope = { x: "hello" };
 
 with (scope) {
-    function main() {
+    var main = function() {
         if (x != "hello") {
             fail("x != 'hello'");
         }