Index: lib/src/prism/tests/languages/powershell/operator_feature.test |
diff --git a/lib/src/prism/tests/languages/powershell/operator_feature.test b/lib/src/prism/tests/languages/powershell/operator_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cbcb25bae5e139dcf15bc7e50a3821b364e698a7 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/powershell/operator_feature.test |
@@ -0,0 +1,55 @@ |
+! -eq -ne -gt -ge -lt -le -shl -shr -not -band -and -bxor -bor -or |
+-Like -Match -Contains -In -NotLike -NotMatch -NotContains -NotIn -Replace -Join |
+-is -isNot -as |
+-= += *= /= %= - + * / % -- ++ |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["operator", "!"], |
+ ["operator", "-eq"], |
+ ["operator", "-ne"], |
+ ["operator", "-gt"], |
+ ["operator", "-ge"], |
+ ["operator", "-lt"], |
+ ["operator", "-le"], |
+ ["operator", "-shl"], |
+ ["operator", "-shr"], |
+ ["operator", "-not"], |
+ ["operator", "-band"], |
+ ["operator", "-and"], |
+ ["operator", "-bxor"], |
+ ["operator", "-bor"], |
+ ["operator", "-or"], |
+ |
+ ["operator", "-Like"], |
+ ["operator", "-Match"], |
+ ["operator", "-Contains"], |
+ ["operator", "-In"], |
+ ["operator", "-NotLike"], |
+ ["operator", "-NotMatch"], |
+ ["operator", "-NotContains"], |
+ ["operator", "-NotIn"], |
+ ["operator", "-Replace"], |
+ ["operator", "-Join"], |
+ ["operator", "-is"], |
+ ["operator", "-isNot"], |
+ ["operator", "-as"], |
+ |
+ ["operator", "-="], |
+ ["operator", "+="], |
+ ["operator", "*="], |
+ ["operator", "/="], |
+ ["operator", "%="], |
+ ["operator", "-"], |
+ ["operator", "+"], |
+ ["operator", "*"], |
+ ["operator", "/"], |
+ ["operator", "%"], |
+ ["operator", "--"], |
+ ["operator", "++"] |
+ |
+] |
+---------------------------------------------------- |
+ |
+Testing operators. |