From 268d01e3f7f99eeba493b0e8138c6f5d621c4c0f Mon Sep 17 00:00:00 2001 From: Golmote Date: Sun, 3 Jul 2016 02:32:13 +0200 Subject: [PATCH] Add test for JS operators --- .../javascript/operator_feature.test | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/languages/javascript/operator_feature.test diff --git a/tests/languages/javascript/operator_feature.test b/tests/languages/javascript/operator_feature.test new file mode 100644 index 0000000000..53a76371a3 --- /dev/null +++ b/tests/languages/javascript/operator_feature.test @@ -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. \ No newline at end of file