un-comment babel/babel-eslint#124 test
This commit is contained in:
parent
cc4ce5bbed
commit
6dc026c203
@ -1262,21 +1262,21 @@ describe("verify", function () {
|
||||
);
|
||||
});
|
||||
|
||||
// it("line comment space-in-parens #124", function () {
|
||||
// verifyAndAssertMessages(
|
||||
// [
|
||||
// "React.createClass({",
|
||||
// "render() {",
|
||||
// "// return (",
|
||||
// "// <div />",
|
||||
// "// ); // <-- this is the line that is reported",
|
||||
// "}",
|
||||
// "});"
|
||||
// ].join("\n"),
|
||||
// { "space-in-parens": 1 },
|
||||
// [ ]
|
||||
// )
|
||||
// });
|
||||
it("line comment space-in-parens #124", function () {
|
||||
verifyAndAssertMessages(
|
||||
[
|
||||
"React.createClass({",
|
||||
"render() {",
|
||||
"// return (",
|
||||
"// <div />",
|
||||
"// ); // <-- this is the line that is reported",
|
||||
"}",
|
||||
"});"
|
||||
].join("\n"),
|
||||
{ "space-in-parens": 1 },
|
||||
[ ]
|
||||
)
|
||||
});
|
||||
|
||||
it("block comment space-in-parens #124", function () {
|
||||
verifyAndAssertMessages(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user