From 75a24409829af951734737fa7cf4b0f09386e3a0 Mon Sep 17 00:00:00 2001 From: arv Date: Wed, 25 Feb 2015 15:27:05 -0800 Subject: [PATCH] Minor test fix to block binding 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/mjsunit/harmony/block-scoping.js b/test/mjsunit/harmony/block-scoping.js index 001d9fb..29ca8e1 100644 --- a/test/mjsunit/harmony/block-scoping.js +++ b/test/mjsunit/harmony/block-scoping.js @@ -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); -- 2.7.4