diff --git a/test/fixtures/transformation/optional-async-to-generator/statement/expected.js b/test/fixtures/transformation/optional-async-to-generator/statement/expected.js index edd71bbb3a..faf8868b28 100644 --- a/test/fixtures/transformation/optional-async-to-generator/statement/expected.js +++ b/test/fixtures/transformation/optional-async-to-generator/statement/expected.js @@ -37,6 +37,6 @@ var _asyncToGenerator = function (fn) { }; }; -var foo = _asyncToGenerator(function* foo() { +var foo = _asyncToGenerator(function* () { var wat = yield bar(); }); diff --git a/test/fixtures/transformation/optional-bluebird-coroutines/statement/expected.js b/test/fixtures/transformation/optional-bluebird-coroutines/statement/expected.js index c5dbaaf5d1..ed68858b19 100644 --- a/test/fixtures/transformation/optional-bluebird-coroutines/statement/expected.js +++ b/test/fixtures/transformation/optional-bluebird-coroutines/statement/expected.js @@ -2,6 +2,6 @@ var _bluebird = require("bluebird"); -var foo = _bluebird.coroutine(function* foo() { +var foo = _bluebird.coroutine(function* () { var wat = yield bar(); });