add test for babel/babel-eslint#149
This commit is contained in:
parent
ec9a75173b
commit
2bb5101112
@ -1218,4 +1218,13 @@ describe("verify", function () {
|
||||
[]
|
||||
);
|
||||
});
|
||||
|
||||
it("ternary and parens #149", function () {
|
||||
verifyAndAssertMessages([
|
||||
"true ? (true) : false;"
|
||||
].join("\n"),
|
||||
{ "space-infix-ops": 1 },
|
||||
[]
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user