Skip to content

Commit

Permalink
Chore: Add more test cases to space-infix-ops (#10936)
Browse files Browse the repository at this point in the history
  • Loading branch information
madbence authored and not-an-aardvark committed Oct 7, 2018
1 parent 066f7e0 commit fe8111a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/lib/rules/space-infix-ops.js
Expand Up @@ -18,8 +18,14 @@ const ruleTester = new RuleTester();
ruleTester.run("space-infix-ops", rule, {
valid: [
"a + b",
"a + ++b",
"a++ + b",
"a++ + ++b",
"a + b",
"(a) + (b)",
"((a)) + ((b))",
"(((a))) + (((b)))",
"a + +b",
"a + (b)",
"a + +(b)",
"a + (+(b))",
Expand Down

0 comments on commit fe8111a

Please sign in to comment.