Index: lib/src/prism/tests/languages/erlang/function_feature.test |
diff --git a/lib/src/prism/tests/languages/erlang/function_feature.test b/lib/src/prism/tests/languages/erlang/function_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..72d8857d1530e81a74faf09be392befecfceca63 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/erlang/function_feature.test |
@@ -0,0 +1,17 @@ |
+spawn( |
+foo@_bar( |
+'foo bar'( |
+'\'\\'( |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["function", "spawn"], ["punctuation", "("], |
+ ["function", "foo@_bar"], ["punctuation", "("], |
+ ["quoted-function", "'foo bar'"], ["punctuation", "("], |
+ ["quoted-function", "'\\'\\\\'"], ["punctuation", "("] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for functions and quoted functions. |