diff --git a/eslint/babel-eslint-parser/test/non-regression.js b/eslint/babel-eslint-parser/test/non-regression.js index d469fc4104..c8dcf93da2 100644 --- a/eslint/babel-eslint-parser/test/non-regression.js +++ b/eslint/babel-eslint-parser/test/non-regression.js @@ -138,8 +138,7 @@ describe("verify", function () { ); }); - // fix after updating to ESLint 1.0.0 - it.skip("Arrow function with non-block bodies (issue #20)", function () { + it("Arrow function with non-block bodies (issue #20)", function () { verifyAndAssertMessages( "\"use strict\"; () => 1", { "strict": [1, "global"] }, @@ -148,6 +147,15 @@ describe("verify", function () { ); }); + it("#242", function () { + verifyAndAssertMessages( + "\"use strict\"; asdf;", + { "no-irregular-whitespace": 1 }, + [], + {} + ); + }); + it("await keyword (issue #22)", function () { verifyAndAssertMessages( "async function foo() { await bar(); }",