Skip to content

Commit

Permalink
Add test for JS operators
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Jul 3, 2016
1 parent 8de64b6 commit 268d01e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/languages/javascript/operator_feature.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- + -- ++
< <= > >=
= == ===
! != !==
& && | ||
* **
? / ~ ^ %
...

----------------------------------------------------

[
["operator", "-"], ["operator", "+"], ["operator", "--"], ["operator", "++"],
["operator", "<"], ["operator", "<="], ["operator", ">"], ["operator", ">="],
["operator", "="], ["operator", "=="], ["operator", "==="],
["operator", "!"], ["operator", "!="], ["operator", "!=="],
["operator", "&"], ["operator", "&&"], ["operator", "|"], ["operator", "||"],
["operator", "*"], ["operator", "**"],
["operator", "?"], ["operator", "/"], ["operator", "~"], ["operator", "^"], ["operator", "%"],
["operator", "..."]
]

----------------------------------------------------

Checks for all operators.

0 comments on commit 268d01e

Please sign in to comment.