Index: lib/src/prism/tests/languages/rust/function_feature.test |
diff --git a/lib/src/prism/tests/languages/rust/function_feature.test b/lib/src/prism/tests/languages/rust/function_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..63fcc8b94dc4a2c25041b33195ab49aec2f8ddf3 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/rust/function_feature.test |
@@ -0,0 +1,23 @@ |
+foo ( |
+foobar( |
+foo_bar_42( |
+ |
+foo! ( |
+foobar![ |
+foo_bar_42!( |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["function", "foo"], ["punctuation", "("], |
+ ["function", "foobar"], ["punctuation", "("], |
+ ["function", "foo_bar_42"], ["punctuation", "("], |
+ |
+ ["function", "foo!"], ["punctuation", "("], |
+ ["function", "foobar!"], ["punctuation", "["], |
+ ["function", "foo_bar_42!"], ["punctuation", "("] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for functions and macros. |