Add failing test for printing comments with retainLines option
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// comment
|
||||
print("hello");
|
||||
@@ -0,0 +1,2 @@
|
||||
// comment
|
||||
print("hello");
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"retainLines": true
|
||||
}
|
||||
@@ -37,7 +37,7 @@ _.each(helper.get("generation"), function (testSuite) {
|
||||
"es7.exportExtensions": true
|
||||
}
|
||||
}, actual.code);
|
||||
var actualCode = generate(actualAst, null, actual.code).code;
|
||||
var actualCode = generate(actualAst, task.options, actual.code).code;
|
||||
|
||||
chai.expect(actualCode).to.equal(expect.code, actual.loc + " !== " + expect.loc);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user