From 04d79c1740d2065a42264a9bd4b0273ce0cc751a Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 22 Feb 2015 22:46:27 +1100 Subject: [PATCH] fix array unpacking test --- test/fixtures/transformation/es6-destructuring/array/actual.js | 2 +- .../fixtures/transformation/es6-destructuring/array/expected.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/fixtures/transformation/es6-destructuring/array/actual.js b/test/fixtures/transformation/es6-destructuring/array/actual.js index 10aa8799ed..4163832fd0 100644 --- a/test/fixtures/transformation/es6-destructuring/array/actual.js +++ b/test/fixtures/transformation/es6-destructuring/array/actual.js @@ -1 +1 @@ -var [a, [b], [c], d] = ["hello", [", ", "junk"], ["world"]]; +var [a, [b], [c]] = ["hello", [", ", "junk"], ["world"]]; diff --git a/test/fixtures/transformation/es6-destructuring/array/expected.js b/test/fixtures/transformation/es6-destructuring/array/expected.js index 9a7872ed23..a84ffda3d5 100644 --- a/test/fixtures/transformation/es6-destructuring/array/expected.js +++ b/test/fixtures/transformation/es6-destructuring/array/expected.js @@ -4,4 +4,3 @@ var a = "hello"; var _ref = [", ", "junk"]; var b = _ref[0]; var c = "world"; -var d;