diff --git a/test/fixtures/transformation/destructuring/assignment/actual.js b/test/fixtures/transformation/destructuring/assignment/actual.js index d14ce7e47d..653338ee9a 100644 --- a/test/fixtures/transformation/destructuring/assignment/actual.js +++ b/test/fixtures/transformation/destructuring/assignment/actual.js @@ -1 +1,2 @@ [a, b] = f(); +({ x }) = e(); diff --git a/test/fixtures/transformation/destructuring/assignment/expected.js b/test/fixtures/transformation/destructuring/assignment/expected.js index 792c6693a2..eda9b31d15 100644 --- a/test/fixtures/transformation/destructuring/assignment/expected.js +++ b/test/fixtures/transformation/destructuring/assignment/expected.js @@ -4,3 +4,6 @@ var _ref = f(); a = _ref[0]; b = _ref[1]; +var _ref2 = e(); + +x = _ref2.x;