fix tests to reflect new destructuring statement behaviour

This commit is contained in:
Sebastian McKenzie
2015-01-24 00:23:15 +11:00
parent 70ce6e0ab8
commit 3607689fbc
4 changed files with 4 additions and 0 deletions

View File

@@ -1 +1,2 @@
[a, b] = f();
;

View File

@@ -22,3 +22,4 @@ var _ref2 = _slicedToArray(_ref, 2);
a = _ref2[0];
b = _ref2[1];
;

View File

@@ -1 +1,2 @@
[foo.foo, foo.bar] = [1, 2];
;

View File

@@ -22,3 +22,4 @@ var _ref2 = _slicedToArray(_ref, 2);
foo.foo = _ref2[0];
foo.bar = _ref2[1];
;