diff --git a/test/fixtures/transformation/api/blacklist/expected.js b/test/fixtures/transformation/api/blacklist/expected.js index 18a766e0bc..01fd9509ac 100644 --- a/test/fixtures/transformation/api/blacklist/expected.js +++ b/test/fixtures/transformation/api/blacklist/expected.js @@ -2,4 +2,4 @@ var Test = function Test() { arr.map(x => x * x); -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/array-comprehension/array-expression-single/expected.js b/test/fixtures/transformation/array-comprehension/array-expression-single/expected.js index 754a2510f6..9b7612c933 100644 --- a/test/fixtures/transformation/array-comprehension/array-expression-single/expected.js +++ b/test/fixtures/transformation/array-comprehension/array-expression-single/expected.js @@ -2,4 +2,4 @@ var arr = [1, 2, 3].map(function (i) { return i * i; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/arrow-functions/destructuring-parameters/expected.js b/test/fixtures/transformation/arrow-functions/destructuring-parameters/expected.js index 806f033ff8..129dc43cc4 100644 --- a/test/fixtures/transformation/arrow-functions/destructuring-parameters/expected.js +++ b/test/fixtures/transformation/arrow-functions/destructuring-parameters/expected.js @@ -4,4 +4,4 @@ var a = function (_ref) { var target = _ref.target; return console.log(target); }; -a({ target: "I am a target" }); \ No newline at end of file +a({ target: "I am a target" }); diff --git a/test/fixtures/transformation/arrow-functions/empty-arguments/expected.js b/test/fixtures/transformation/arrow-functions/empty-arguments/expected.js index 1607385d6f..12786c6dc4 100644 --- a/test/fixtures/transformation/arrow-functions/empty-arguments/expected.js +++ b/test/fixtures/transformation/arrow-functions/empty-arguments/expected.js @@ -2,4 +2,4 @@ var t = function () { return 5 + 5; -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/arrow-functions/empty-block/expected.js b/test/fixtures/transformation/arrow-functions/empty-block/expected.js index 903965434e..83176f427d 100644 --- a/test/fixtures/transformation/arrow-functions/empty-block/expected.js +++ b/test/fixtures/transformation/arrow-functions/empty-block/expected.js @@ -1,3 +1,3 @@ "use strict"; -var t = function () {}; \ No newline at end of file +var t = function () {}; diff --git a/test/fixtures/transformation/arrow-functions/expression/expected.js b/test/fixtures/transformation/arrow-functions/expression/expected.js index b38b216584..e136af8d90 100644 --- a/test/fixtures/transformation/arrow-functions/expression/expected.js +++ b/test/fixtures/transformation/arrow-functions/expression/expected.js @@ -2,4 +2,4 @@ arr.map(function (x) { return x * x; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/arrow-functions/inside-call/expected.js b/test/fixtures/transformation/arrow-functions/inside-call/expected.js index 79a9246a79..d78fc3cb5e 100644 --- a/test/fixtures/transformation/arrow-functions/inside-call/expected.js +++ b/test/fixtures/transformation/arrow-functions/inside-call/expected.js @@ -2,4 +2,4 @@ arr.map(function (i) { return i + 1; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/arrow-functions/multiple-arguments/expected.js b/test/fixtures/transformation/arrow-functions/multiple-arguments/expected.js index 7dcd6be55c..3eaf3163ea 100644 --- a/test/fixtures/transformation/arrow-functions/multiple-arguments/expected.js +++ b/test/fixtures/transformation/arrow-functions/multiple-arguments/expected.js @@ -2,4 +2,4 @@ var t = function (i, x) { return i * x; -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/arrow-functions/paran-insertion/expected.js b/test/fixtures/transformation/arrow-functions/paran-insertion/expected.js index 7ee476a8fc..478e9c335b 100644 --- a/test/fixtures/transformation/arrow-functions/paran-insertion/expected.js +++ b/test/fixtures/transformation/arrow-functions/paran-insertion/expected.js @@ -2,4 +2,4 @@ var t = function (i) { return i * 5; -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/arrow-functions/single-argument/expected.js b/test/fixtures/transformation/arrow-functions/single-argument/expected.js index 7ee476a8fc..478e9c335b 100644 --- a/test/fixtures/transformation/arrow-functions/single-argument/expected.js +++ b/test/fixtures/transformation/arrow-functions/single-argument/expected.js @@ -2,4 +2,4 @@ var t = function (i) { return i * 5; -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/arrow-functions/statement/expected.js b/test/fixtures/transformation/arrow-functions/statement/expected.js index f233cefd3b..99ee5cc6ba 100644 --- a/test/fixtures/transformation/arrow-functions/statement/expected.js +++ b/test/fixtures/transformation/arrow-functions/statement/expected.js @@ -4,4 +4,4 @@ nums.forEach(function (v) { if (v % 5 === 0) { fives.push(v); } -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/arrow-functions/this/expected.js b/test/fixtures/transformation/arrow-functions/this/expected.js index 6006321301..5206629491 100644 --- a/test/fixtures/transformation/arrow-functions/this/expected.js +++ b/test/fixtures/transformation/arrow-functions/this/expected.js @@ -3,4 +3,4 @@ var _this = this; var t = function (x) { return _this.x + x; -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/classes/plain-class/expected.js b/test/fixtures/transformation/classes/plain-class/expected.js index d4f56f6237..5f98760f68 100644 --- a/test/fixtures/transformation/classes/plain-class/expected.js +++ b/test/fixtures/transformation/classes/plain-class/expected.js @@ -1,3 +1,3 @@ "use strict"; -var Test = function Test() {}; \ No newline at end of file +var Test = function Test() {}; diff --git a/test/fixtures/transformation/classes/super-function-fallback/expected.js b/test/fixtures/transformation/classes/super-function-fallback/expected.js index b2c09ca204..e17e74db06 100644 --- a/test/fixtures/transformation/classes/super-function-fallback/expected.js +++ b/test/fixtures/transformation/classes/super-function-fallback/expected.js @@ -2,4 +2,4 @@ var Test = function Test() { Function.prototype.hasOwnProperty.call(this, "test"); -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/computed-property-names/argument/expected.js b/test/fixtures/transformation/computed-property-names/argument/expected.js index fa1e508502..32e48a5d4e 100644 --- a/test/fixtures/transformation/computed-property-names/argument/expected.js +++ b/test/fixtures/transformation/computed-property-names/argument/expected.js @@ -3,4 +3,4 @@ foo((function (_ref) { _ref[bar] = "foobar"; return _ref; -})({})); \ No newline at end of file +})({})); diff --git a/test/fixtures/transformation/computed-property-names/assignment/expected.js b/test/fixtures/transformation/computed-property-names/assignment/expected.js index 18c69fa732..252b1e0d78 100644 --- a/test/fixtures/transformation/computed-property-names/assignment/expected.js +++ b/test/fixtures/transformation/computed-property-names/assignment/expected.js @@ -3,4 +3,4 @@ foo = (function (_foo) { _foo[bar] = "foobar"; return _foo; -})({}); \ No newline at end of file +})({}); diff --git a/test/fixtures/transformation/computed-property-names/method/expected.js b/test/fixtures/transformation/computed-property-names/method/expected.js index c85e85d2ed..914ff52608 100644 --- a/test/fixtures/transformation/computed-property-names/method/expected.js +++ b/test/fixtures/transformation/computed-property-names/method/expected.js @@ -5,4 +5,4 @@ var obj = (function (_obj) { return "foobar"; }; return _obj; -})({}); \ No newline at end of file +})({}); diff --git a/test/fixtures/transformation/computed-property-names/mixed/expected.js b/test/fixtures/transformation/computed-property-names/mixed/expected.js index 314531917a..4a28187475 100644 --- a/test/fixtures/transformation/computed-property-names/mixed/expected.js +++ b/test/fixtures/transformation/computed-property-names/mixed/expected.js @@ -7,4 +7,4 @@ var obj = (function (_obj) { })({ foo: "foo", bar: "bar" -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/computed-property-names/multiple/expected.js b/test/fixtures/transformation/computed-property-names/multiple/expected.js index cdccd2e6b8..9c62aa4935 100644 --- a/test/fixtures/transformation/computed-property-names/multiple/expected.js +++ b/test/fixtures/transformation/computed-property-names/multiple/expected.js @@ -4,4 +4,4 @@ var obj = (function (_obj) { _obj["x" + foo] = "heh"; _obj["y" + bar] = "noo"; return _obj; -})({}); \ No newline at end of file +})({}); diff --git a/test/fixtures/transformation/computed-property-names/single/expected.js b/test/fixtures/transformation/computed-property-names/single/expected.js index 068ebfece9..d2b4c26e24 100644 --- a/test/fixtures/transformation/computed-property-names/single/expected.js +++ b/test/fixtures/transformation/computed-property-names/single/expected.js @@ -3,4 +3,4 @@ var obj = (function (_obj) { _obj["x" + foo] = "heh"; return _obj; -})({}); \ No newline at end of file +})({}); diff --git a/test/fixtures/transformation/computed-property-names/this/expected.js b/test/fixtures/transformation/computed-property-names/this/expected.js index 5a5d21d479..432f09b1df 100644 --- a/test/fixtures/transformation/computed-property-names/this/expected.js +++ b/test/fixtures/transformation/computed-property-names/this/expected.js @@ -4,4 +4,4 @@ var _this = this; var obj = (function (_obj) { _obj["x" + _this.foo] = "heh"; return _obj; -})({}); \ No newline at end of file +})({}); diff --git a/test/fixtures/transformation/computed-property-names/variable/expected.js b/test/fixtures/transformation/computed-property-names/variable/expected.js index 1f3bcd3f53..de5c25aae4 100644 --- a/test/fixtures/transformation/computed-property-names/variable/expected.js +++ b/test/fixtures/transformation/computed-property-names/variable/expected.js @@ -3,4 +3,4 @@ var foo = (function (_foo) { _foo[bar] = "foobar"; return _foo; -})({}); \ No newline at end of file +})({}); diff --git a/test/fixtures/transformation/constants/destructuring/expected.js b/test/fixtures/transformation/constants/destructuring/expected.js index f26c7f1481..1384c003fa 100644 --- a/test/fixtures/transformation/constants/destructuring/expected.js +++ b/test/fixtures/transformation/constants/destructuring/expected.js @@ -2,15 +2,19 @@ var _ref = [1, 2]; -var a = _ref[0]; -var b = _ref[1]; -var _ref2 = [3, 4]; +var _ref2 = Array.from(_ref); -var c = _ref2[0]; -var d = _ref2[1]; -var _ref3 = { e: 5, f: 6 }; -var e = _ref3.e; -var f = _ref3.f; -var _ref4 = { a: 7, b: 8 }; -var g = _ref4.a; -var h = _ref4.b; +var a = _ref2[0]; +var b = _ref2[1]; +var _ref3 = [3, 4]; + +var _ref4 = Array.from(_ref3); + +var c = _ref4[0]; +var d = _ref4[1]; +var _ref5 = { e: 5, f: 6 }; +var e = _ref5.e; +var f = _ref5.f; +var _ref6 = { a: 7, b: 8 }; +var g = _ref6.a; +var h = _ref6.b; diff --git a/test/fixtures/transformation/for-of/identifier/expected.js b/test/fixtures/transformation/for-of/identifier/expected.js index 9aa48b1ad6..81521f5302 100644 --- a/test/fixtures/transformation/for-of/identifier/expected.js +++ b/test/fixtures/transformation/for-of/identifier/expected.js @@ -2,4 +2,4 @@ for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { i = _step.value; -} \ No newline at end of file +} diff --git a/test/fixtures/transformation/for-of/var/expected.js b/test/fixtures/transformation/for-of/var/expected.js index 50b4846307..0bfeba6d46 100644 --- a/test/fixtures/transformation/for-of/var/expected.js +++ b/test/fixtures/transformation/for-of/var/expected.js @@ -2,4 +2,4 @@ for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { var i = _step.value; -} \ No newline at end of file +} diff --git a/test/fixtures/transformation/modules-amd/exports-default/expected.js b/test/fixtures/transformation/modules-amd/exports-default/expected.js index d43b32db01..d7ccd703d9 100644 --- a/test/fixtures/transformation/modules-amd/exports-default/expected.js +++ b/test/fixtures/transformation/modules-amd/exports-default/expected.js @@ -12,4 +12,4 @@ define("modules-amd/exports-default/expected", ["exports"], function (exports) { var Foo = function Foo() {}; exports["default"] = Foo; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/exports-from/expected.js b/test/fixtures/transformation/modules-amd/exports-from/expected.js index 77ae51d64b..dc955e9b43 100644 --- a/test/fixtures/transformation/modules-amd/exports-from/expected.js +++ b/test/fixtures/transformation/modules-amd/exports-from/expected.js @@ -14,4 +14,4 @@ define("modules-amd/exports-from/expected", ["exports", "foo"], function (export exports["default"] = _foo.foo; exports["default"] = _foo.foo; exports.bar = _foo.bar; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/exports-named/expected.js b/test/fixtures/transformation/modules-amd/exports-named/expected.js index 1e1070e93f..e0ab3073db 100644 --- a/test/fixtures/transformation/modules-amd/exports-named/expected.js +++ b/test/fixtures/transformation/modules-amd/exports-named/expected.js @@ -8,4 +8,4 @@ define("modules-amd/exports-named/expected", ["exports"], function (exports) { exports["default"] = foo; exports["default"] = foo; exports.bar = bar; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/exports-variable/expected.js b/test/fixtures/transformation/modules-amd/exports-variable/expected.js index 9f75a11911..55becc8094 100644 --- a/test/fixtures/transformation/modules-amd/exports-variable/expected.js +++ b/test/fixtures/transformation/modules-amd/exports-variable/expected.js @@ -12,4 +12,4 @@ define("modules-amd/exports-variable/expected", ["exports"], function (exports) var foo8 = function foo8() {}; exports.foo8 = foo8; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/hoist-function-exports/expected.js b/test/fixtures/transformation/modules-amd/hoist-function-exports/expected.js index 4a9013f20e..4945e4e62a 100644 --- a/test/fixtures/transformation/modules-amd/hoist-function-exports/expected.js +++ b/test/fixtures/transformation/modules-amd/hoist-function-exports/expected.js @@ -12,4 +12,4 @@ define("modules-amd/hoist-function-exports/expected", ["exports", "./evens"], fu return !isEven(n); }; })(isEven); -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/imports-default/expected.js b/test/fixtures/transformation/modules-amd/imports-default/expected.js index 5b57ae6866..fbd6370eff 100644 --- a/test/fixtures/transformation/modules-amd/imports-default/expected.js +++ b/test/fixtures/transformation/modules-amd/imports-default/expected.js @@ -3,4 +3,4 @@ define("modules-amd/imports-default/expected", ["exports", "foo"], function (exp var foo = _foo["default"]; var foo = _foo["default"]; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/imports-glob/expected.js b/test/fixtures/transformation/modules-amd/imports-glob/expected.js index d28af52835..5b62640587 100644 --- a/test/fixtures/transformation/modules-amd/imports-glob/expected.js +++ b/test/fixtures/transformation/modules-amd/imports-glob/expected.js @@ -2,4 +2,4 @@ define("modules-amd/imports-glob/expected", ["exports", "foo"], function (export "use strict"; var foo = _foo; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/imports-mixing/expected.js b/test/fixtures/transformation/modules-amd/imports-mixing/expected.js index 785292dedb..116f8c16a9 100644 --- a/test/fixtures/transformation/modules-amd/imports-mixing/expected.js +++ b/test/fixtures/transformation/modules-amd/imports-mixing/expected.js @@ -3,4 +3,4 @@ define("modules-amd/imports-mixing/expected", ["exports", "foo"], function (expo var foo = _foo["default"]; var xyz = _foo.baz; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/imports-named/expected.js b/test/fixtures/transformation/modules-amd/imports-named/expected.js index c20a471eca..aef8e85666 100644 --- a/test/fixtures/transformation/modules-amd/imports-named/expected.js +++ b/test/fixtures/transformation/modules-amd/imports-named/expected.js @@ -7,4 +7,4 @@ define("modules-amd/imports-named/expected", ["exports", "foo"], function (expor var baz = _foo.bar; var baz = _foo.bar; var xyz = _foo.xyz; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/imports/expected.js b/test/fixtures/transformation/modules-amd/imports/expected.js index 1abd7b4ba0..5fdc461b60 100644 --- a/test/fixtures/transformation/modules-amd/imports/expected.js +++ b/test/fixtures/transformation/modules-amd/imports/expected.js @@ -1,3 +1,3 @@ define("modules-amd/imports/expected", ["exports", "foo", "foo-bar", "./directory/foo-bar"], function (exports, _foo, _fooBar, _directoryFooBar) { "use strict"; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-amd/overview/expected.js b/test/fixtures/transformation/modules-amd/overview/expected.js index d5228359cb..c173c7180b 100644 --- a/test/fixtures/transformation/modules-amd/overview/expected.js +++ b/test/fixtures/transformation/modules-amd/overview/expected.js @@ -9,4 +9,4 @@ define("modules-amd/overview/expected", ["exports", "foo", "foo-bar", "./directo var test = exports.test = 5; exports["default"] = test; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-common-interop/imports-glob/expected.js b/test/fixtures/transformation/modules-common-interop/imports-glob/expected.js index e8c2d94a6a..3293bd0ebd 100644 --- a/test/fixtures/transformation/modules-common-interop/imports-glob/expected.js +++ b/test/fixtures/transformation/modules-common-interop/imports-glob/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = require("foo"); \ No newline at end of file +var foo = require("foo"); diff --git a/test/fixtures/transformation/modules-common-interop/imports-named/expected.js b/test/fixtures/transformation/modules-common-interop/imports-named/expected.js index ed81790165..9a51dccc06 100644 --- a/test/fixtures/transformation/modules-common-interop/imports-named/expected.js +++ b/test/fixtures/transformation/modules-common-interop/imports-named/expected.js @@ -5,4 +5,4 @@ var bar = require("foo").bar; var baz = require("foo").baz; var baz = require("foo").bar; var baz = require("foo").bar; -var xyz = require("foo").xyz; \ No newline at end of file +var xyz = require("foo").xyz; diff --git a/test/fixtures/transformation/modules-common/imports-glob/expected.js b/test/fixtures/transformation/modules-common/imports-glob/expected.js index e8c2d94a6a..3293bd0ebd 100644 --- a/test/fixtures/transformation/modules-common/imports-glob/expected.js +++ b/test/fixtures/transformation/modules-common/imports-glob/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = require("foo"); \ No newline at end of file +var foo = require("foo"); diff --git a/test/fixtures/transformation/modules-common/imports-named/expected.js b/test/fixtures/transformation/modules-common/imports-named/expected.js index ed81790165..9a51dccc06 100644 --- a/test/fixtures/transformation/modules-common/imports-named/expected.js +++ b/test/fixtures/transformation/modules-common/imports-named/expected.js @@ -5,4 +5,4 @@ var bar = require("foo").bar; var baz = require("foo").baz; var baz = require("foo").bar; var baz = require("foo").bar; -var xyz = require("foo").xyz; \ No newline at end of file +var xyz = require("foo").xyz; diff --git a/test/fixtures/transformation/modules-umd/exports-default/expected.js b/test/fixtures/transformation/modules-umd/exports-default/expected.js index a9170c8ffe..70bba353e9 100644 --- a/test/fixtures/transformation/modules-umd/exports-default/expected.js +++ b/test/fixtures/transformation/modules-umd/exports-default/expected.js @@ -18,4 +18,4 @@ var Foo = function Foo() {}; exports["default"] = Foo; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/exports-from/expected.js b/test/fixtures/transformation/modules-umd/exports-from/expected.js index f7b1dd1e4f..9c8d1c9006 100644 --- a/test/fixtures/transformation/modules-umd/exports-from/expected.js +++ b/test/fixtures/transformation/modules-umd/exports-from/expected.js @@ -20,4 +20,4 @@ exports["default"] = _foo.foo; exports["default"] = _foo.foo; exports.bar = _foo.bar; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/exports-named/expected.js b/test/fixtures/transformation/modules-umd/exports-named/expected.js index 8c0a7e6df9..1ab16c49ec 100644 --- a/test/fixtures/transformation/modules-umd/exports-named/expected.js +++ b/test/fixtures/transformation/modules-umd/exports-named/expected.js @@ -14,4 +14,4 @@ exports["default"] = foo; exports["default"] = foo; exports.bar = bar; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/exports-variable/expected.js b/test/fixtures/transformation/modules-umd/exports-variable/expected.js index 7a1e2feb99..a8d5e18374 100644 --- a/test/fixtures/transformation/modules-umd/exports-variable/expected.js +++ b/test/fixtures/transformation/modules-umd/exports-variable/expected.js @@ -18,4 +18,4 @@ var foo8 = function foo8() {}; exports.foo8 = foo8; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/hoist-function-exports/expected.js b/test/fixtures/transformation/modules-umd/hoist-function-exports/expected.js index 3691750913..b7488ee3fd 100644 --- a/test/fixtures/transformation/modules-umd/hoist-function-exports/expected.js +++ b/test/fixtures/transformation/modules-umd/hoist-function-exports/expected.js @@ -18,4 +18,4 @@ return !isEven(n); }; })(isEven); -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/imports-default/expected.js b/test/fixtures/transformation/modules-umd/imports-default/expected.js index 666ea076d7..d3c76e8453 100644 --- a/test/fixtures/transformation/modules-umd/imports-default/expected.js +++ b/test/fixtures/transformation/modules-umd/imports-default/expected.js @@ -9,4 +9,4 @@ var foo = _foo["default"]; var foo = _foo["default"]; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/imports-glob/expected.js b/test/fixtures/transformation/modules-umd/imports-glob/expected.js index cf5428c747..698098f529 100644 --- a/test/fixtures/transformation/modules-umd/imports-glob/expected.js +++ b/test/fixtures/transformation/modules-umd/imports-glob/expected.js @@ -8,4 +8,4 @@ "use strict"; var foo = _foo; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/imports-mixing/expected.js b/test/fixtures/transformation/modules-umd/imports-mixing/expected.js index acf986b6b3..97e6cff72f 100644 --- a/test/fixtures/transformation/modules-umd/imports-mixing/expected.js +++ b/test/fixtures/transformation/modules-umd/imports-mixing/expected.js @@ -9,4 +9,4 @@ var foo = _foo["default"]; var xyz = _foo.baz; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/imports-named/expected.js b/test/fixtures/transformation/modules-umd/imports-named/expected.js index 8f8761bd25..ee4eac59ec 100644 --- a/test/fixtures/transformation/modules-umd/imports-named/expected.js +++ b/test/fixtures/transformation/modules-umd/imports-named/expected.js @@ -13,4 +13,4 @@ var baz = _foo.bar; var baz = _foo.bar; var xyz = _foo.xyz; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/imports/expected.js b/test/fixtures/transformation/modules-umd/imports/expected.js index cd1e4eee5a..8cc53c4513 100644 --- a/test/fixtures/transformation/modules-umd/imports/expected.js +++ b/test/fixtures/transformation/modules-umd/imports/expected.js @@ -6,4 +6,4 @@ } })(function (exports, _foo, _fooBar, _directoryFooBar) { "use strict"; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/modules-umd/overview/expected.js b/test/fixtures/transformation/modules-umd/overview/expected.js index d3ee62b9b6..1f1b0c4165 100644 --- a/test/fixtures/transformation/modules-umd/overview/expected.js +++ b/test/fixtures/transformation/modules-umd/overview/expected.js @@ -15,4 +15,4 @@ var test = exports.test = 5; exports["default"] = test; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/property-name-shorthand/single/expected.js b/test/fixtures/transformation/property-name-shorthand/single/expected.js index d0bd0eaa68..ac167b7ecb 100644 --- a/test/fixtures/transformation/property-name-shorthand/single/expected.js +++ b/test/fixtures/transformation/property-name-shorthand/single/expected.js @@ -1,3 +1,3 @@ "use strict"; -var coords = { x: x }; \ No newline at end of file +var coords = { x: x }; diff --git a/test/fixtures/transformation/source-maps/arrow-function/expected.js b/test/fixtures/transformation/source-maps/arrow-function/expected.js index 2974ebc2a4..bfd01cf68c 100644 --- a/test/fixtures/transformation/source-maps/arrow-function/expected.js +++ b/test/fixtures/transformation/source-maps/arrow-function/expected.js @@ -2,4 +2,4 @@ var t = function (x) { return x * x; -}; \ No newline at end of file +}; diff --git a/test/fixtures/transformation/source-maps/full/expected.js b/test/fixtures/transformation/source-maps/full/expected.js index b38b216584..e136af8d90 100644 --- a/test/fixtures/transformation/source-maps/full/expected.js +++ b/test/fixtures/transformation/source-maps/full/expected.js @@ -2,4 +2,4 @@ arr.map(function (x) { return x * x; -}); \ No newline at end of file +}); diff --git a/test/fixtures/transformation/spread/method-call-array-literal/expected.js b/test/fixtures/transformation/spread/method-call-array-literal/expected.js index fb0bae3ea8..0fd8eaaaf2 100644 --- a/test/fixtures/transformation/spread/method-call-array-literal/expected.js +++ b/test/fixtures/transformation/spread/method-call-array-literal/expected.js @@ -1,3 +1,3 @@ "use strict"; -f.apply(null, [1, 2, 3]); \ No newline at end of file +f.apply(null, [1, 2, 3]); diff --git a/test/fixtures/transformation/template-literals/escape-quotes/expected.js b/test/fixtures/transformation/template-literals/escape-quotes/expected.js index 57381d318b..b13235af59 100644 --- a/test/fixtures/transformation/template-literals/escape-quotes/expected.js +++ b/test/fixtures/transformation/template-literals/escape-quotes/expected.js @@ -1,3 +1,3 @@ "use strict"; -var t = "'" + foo + "' \"" + bar + "\""; \ No newline at end of file +var t = "'" + foo + "' \"" + bar + "\""; diff --git a/test/fixtures/transformation/template-literals/functions/expected.js b/test/fixtures/transformation/template-literals/functions/expected.js index 70ce864f59..83df73bd85 100644 --- a/test/fixtures/transformation/template-literals/functions/expected.js +++ b/test/fixtures/transformation/template-literals/functions/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = "test " + _.test(foo) + " " + bar; \ No newline at end of file +var foo = "test " + _.test(foo) + " " + bar; diff --git a/test/fixtures/transformation/template-literals/multiline/expected.js b/test/fixtures/transformation/template-literals/multiline/expected.js index f8cfb32013..80999853d6 100644 --- a/test/fixtures/transformation/template-literals/multiline/expected.js +++ b/test/fixtures/transformation/template-literals/multiline/expected.js @@ -1,3 +1,3 @@ "use strict"; -var o = "wow\nthis is\nactually multiline!"; \ No newline at end of file +var o = "wow\nthis is\nactually multiline!"; diff --git a/test/fixtures/transformation/template-literals/multiple/expected.js b/test/fixtures/transformation/template-literals/multiple/expected.js index 8ebe48a409..664df108b0 100644 --- a/test/fixtures/transformation/template-literals/multiple/expected.js +++ b/test/fixtures/transformation/template-literals/multiple/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = "test " + foo + " " + bar; \ No newline at end of file +var foo = "test " + foo + " " + bar; diff --git a/test/fixtures/transformation/template-literals/none/expected.js b/test/fixtures/transformation/template-literals/none/expected.js index 5736960a49..5917e8e433 100644 --- a/test/fixtures/transformation/template-literals/none/expected.js +++ b/test/fixtures/transformation/template-literals/none/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = "test"; \ No newline at end of file +var foo = "test"; diff --git a/test/fixtures/transformation/template-literals/only/expected.js b/test/fixtures/transformation/template-literals/only/expected.js index 4ab29f3954..7fa1c086e7 100644 --- a/test/fixtures/transformation/template-literals/only/expected.js +++ b/test/fixtures/transformation/template-literals/only/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = "" + test; \ No newline at end of file +var foo = "" + test; diff --git a/test/fixtures/transformation/template-literals/single/expected.js b/test/fixtures/transformation/template-literals/single/expected.js index 8e5c50be59..1acf0454aa 100644 --- a/test/fixtures/transformation/template-literals/single/expected.js +++ b/test/fixtures/transformation/template-literals/single/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = "test " + foo; \ No newline at end of file +var foo = "test " + foo; diff --git a/test/fixtures/transformation/template-literals/statement/expected.js b/test/fixtures/transformation/template-literals/statement/expected.js index 792d3806f3..ee58935944 100644 --- a/test/fixtures/transformation/template-literals/statement/expected.js +++ b/test/fixtures/transformation/template-literals/statement/expected.js @@ -1,3 +1,3 @@ "use strict"; -var foo = "test " + (foo + bar); \ No newline at end of file +var foo = "test " + (foo + bar); diff --git a/test/fixtures/transformation/traceur-let-scoping/no-renaming/expected.js b/test/fixtures/transformation/traceur-let-scoping/no-renaming/expected.js index 9508f46822..5499842172 100644 --- a/test/fixtures/transformation/traceur-let-scoping/no-renaming/expected.js +++ b/test/fixtures/transformation/traceur-let-scoping/no-renaming/expected.js @@ -6,4 +6,3 @@ function foo(n) { } foo(42); - diff --git a/test/fixtures/transformation/use-strict/add/expected.js b/test/fixtures/transformation/use-strict/add/expected.js index 4afd33e9c5..78e7c81229 100644 --- a/test/fixtures/transformation/use-strict/add/expected.js +++ b/test/fixtures/transformation/use-strict/add/expected.js @@ -1,3 +1,3 @@ "use strict"; -foo(); \ No newline at end of file +foo(); diff --git a/test/fixtures/transformation/use-strict/exists/expected.js b/test/fixtures/transformation/use-strict/exists/expected.js index 4afd33e9c5..78e7c81229 100644 --- a/test/fixtures/transformation/use-strict/exists/expected.js +++ b/test/fixtures/transformation/use-strict/exists/expected.js @@ -1,3 +1,3 @@ "use strict"; -foo(); \ No newline at end of file +foo();