From 3607689fbcb4e28d556a524db5a5e4c630c07381 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sat, 24 Jan 2015 00:23:15 +1100 Subject: [PATCH] fix tests to reflect new destructuring statement behaviour --- .../es6-destructuring/assignment-statement/actual.js | 1 + .../es6-destructuring/assignment-statement/expected.js | 1 + .../transformation/es6-destructuring/member-expression/actual.js | 1 + .../es6-destructuring/member-expression/expected.js | 1 + 4 files changed, 4 insertions(+) diff --git a/test/fixtures/transformation/es6-destructuring/assignment-statement/actual.js b/test/fixtures/transformation/es6-destructuring/assignment-statement/actual.js index d14ce7e47d..17721448a1 100644 --- a/test/fixtures/transformation/es6-destructuring/assignment-statement/actual.js +++ b/test/fixtures/transformation/es6-destructuring/assignment-statement/actual.js @@ -1 +1,2 @@ [a, b] = f(); +; diff --git a/test/fixtures/transformation/es6-destructuring/assignment-statement/expected.js b/test/fixtures/transformation/es6-destructuring/assignment-statement/expected.js index ffbb7febe2..f48bb1e729 100644 --- a/test/fixtures/transformation/es6-destructuring/assignment-statement/expected.js +++ b/test/fixtures/transformation/es6-destructuring/assignment-statement/expected.js @@ -22,3 +22,4 @@ var _ref2 = _slicedToArray(_ref, 2); a = _ref2[0]; b = _ref2[1]; +; diff --git a/test/fixtures/transformation/es6-destructuring/member-expression/actual.js b/test/fixtures/transformation/es6-destructuring/member-expression/actual.js index 8d8bc57855..1ff59bd4f4 100644 --- a/test/fixtures/transformation/es6-destructuring/member-expression/actual.js +++ b/test/fixtures/transformation/es6-destructuring/member-expression/actual.js @@ -1 +1,2 @@ [foo.foo, foo.bar] = [1, 2]; +; diff --git a/test/fixtures/transformation/es6-destructuring/member-expression/expected.js b/test/fixtures/transformation/es6-destructuring/member-expression/expected.js index 30b475cb11..5cfaa9660c 100644 --- a/test/fixtures/transformation/es6-destructuring/member-expression/expected.js +++ b/test/fixtures/transformation/es6-destructuring/member-expression/expected.js @@ -22,3 +22,4 @@ var _ref2 = _slicedToArray(_ref, 2); foo.foo = _ref2[0]; foo.bar = _ref2[1]; +;