Index: lib/src/prism/tests/languages/clike/function_feature.test |
diff --git a/lib/src/prism/tests/languages/clike/function_feature.test b/lib/src/prism/tests/languages/clike/function_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..031ed1c9d9147d37f93109ca282ddc2ec449f680 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/clike/function_feature.test |
@@ -0,0 +1,23 @@ |
+foo() |
+foo_bar() |
+f42() |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["function", "foo"], |
+ ["punctuation", "("], |
+ ["punctuation", ")"], |
+ |
+ ["function", "foo_bar"], |
+ ["punctuation", "("], |
+ ["punctuation", ")"], |
+ |
+ ["function", "f42"], |
+ ["punctuation", "("], |
+ ["punctuation", ")"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for functions. |