Minor test fix to block binding
authorarv <arv@chromium.org>
Wed, 25 Feb 2015 23:27:05 +0000 (15:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 23:27:14 +0000 (23:27 +0000)
The test did not invoke the function

BUG=v8:3921
LOG=N
R=adamk

Review URL: https://codereview.chromium.org/961463002

Cr-Commit-Position: refs/heads/master@{#26869}

test/mjsunit/harmony/block-scoping.js

index 001d9fb..29ca8e1 100644 (file)
@@ -101,7 +101,8 @@ function f4(one) {
       assertEquals(4, eval('z'));
       assertEquals(5, eval('u'));
       assertEquals(6, eval('v'));
-    };
+    }
+    f();
   }
 }
 f4(1);
@@ -122,7 +123,8 @@ function f5(one) {
       assertEquals(4, z);
       assertEquals(5, u);
       assertEquals(6, v);
-    };
+    }
+    f();
   }
 }
 f5(1);