From 3c8f3cb521fcc90f9060de115a163f22f360a88d Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 22 Mar 2015 04:08:55 +1100 Subject: [PATCH] update couple tests to reflect new statement explosion --- .../es6-destructuring/member-expression/expected.js | 2 ++ .../es6-properties.computed-loose/method/expected.js | 12 ++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/test/fixtures/transformation/es6-destructuring/member-expression/expected.js b/test/fixtures/transformation/es6-destructuring/member-expression/expected.js index bb06a8b3a2..a61a5b6377 100644 --- a/test/fixtures/transformation/es6-destructuring/member-expression/expected.js +++ b/test/fixtures/transformation/es6-destructuring/member-expression/expected.js @@ -2,3 +2,5 @@ foo.foo = 1; foo.bar = 2; + +; diff --git a/test/fixtures/transformation/es6-properties.computed-loose/method/expected.js b/test/fixtures/transformation/es6-properties.computed-loose/method/expected.js index fd5025bbd1..5ddd0c37d4 100644 --- a/test/fixtures/transformation/es6-properties.computed-loose/method/expected.js +++ b/test/fixtures/transformation/es6-properties.computed-loose/method/expected.js @@ -1,11 +1,7 @@ "use strict"; -var obj = (function () { - var _obj = {}; +var _obj; - _obj[foobar] = function () { - return "foobar"; - }; - - return _obj; -})(); +var obj = (_obj = {}, _obj[foobar] = function () { + return "foobar"; +}, _obj);