From d50d4972a7742bff165c6841be0ca4e4f75b5ff4 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 21 Nov 2014 19:40:05 +1100 Subject: [PATCH] use experimental option in generation tests --- test/generation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/generation.js b/test/generation.js index db2857fc85..a10acee4be 100644 --- a/test/generation.js +++ b/test/generation.js @@ -26,7 +26,7 @@ _.each(helper.get("generation"), function (testSuite) { var expect = task.expect; var actual = task.actual; - var actualAst = util.parse({ filename: actual.loc }, actual.code); + var actualAst = util.parse({ filename: actual.loc, experimental: true }, actual.code); var actualCode = generate(actualAst, null, actual.code).code; chai.expect(actualCode).to.equal(expect.code, actual.loc + " !== " + expect.loc);