From 15eeeb65598e75bb014a8e3805e0d2d12763719d Mon Sep 17 00:00:00 2001 From: Justin Ridgewell Date: Fri, 28 Oct 2016 23:44:00 -0400 Subject: [PATCH] Fix line endings (#4793) --- .../object-method-with-arrows/actual.js | 38 +++++------ .../object-method-with-arrows/expected.js | 66 +++++++++---------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/actual.js b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/actual.js index f3e32193aa..c23b4def85 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/actual.js +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/actual.js @@ -1,20 +1,20 @@ -class Class { - async method() { +class Class { + async method() { this; - () => this; - () => { - this; - () => this; - function x() { - this; - () => {this} - async () => {this} - } - } - function x() { - this; - () => {this} - async () => {this} - } - } -} + () => this; + () => { + this; + () => this; + function x() { + this; + () => {this} + async () => {this} + } + } + function x() { + this; + () => {this} + async () => {this} + } + } +} diff --git a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/expected.js b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/expected.js index d95ecfaa94..60c0717eb5 100644 --- a/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/expected.js +++ b/packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/object-method-with-arrows/expected.js @@ -1,40 +1,40 @@ -class Class { - method() { - var _this = this; - - return babelHelpers.asyncToGenerator(function* () { - _this; - (function () { - return _this; - }); - (function () { - _this; - (function () { - return _this; - }); - function x() { - var _this2 = this; - - this; +class Class { + method() { + var _this = this; + + return babelHelpers.asyncToGenerator(function* () { + _this; + (function () { + return _this; + }); + (function () { + _this; + (function () { + return _this; + }); + function x() { + var _this2 = this; + + this; () => { this; }; - babelHelpers.asyncToGenerator(function* () { - _this2; - }); - } - }); - function x() { - var _this3 = this; - + babelHelpers.asyncToGenerator(function* () { + _this2; + }); + } + }); + function x() { + var _this3 = this; + this; () => { this; }; - babelHelpers.asyncToGenerator(function* () { - _this3; - }); - } - })(); - } -} + babelHelpers.asyncToGenerator(function* () { + _this3; + }); + } + })(); + } +}