Index: lib/src/prism/tests/languages/groovy/annotation_feature.test |
diff --git a/lib/src/prism/tests/languages/groovy/annotation_feature.test b/lib/src/prism/tests/languages/groovy/annotation_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f956c52798e414507f50e75dd02db6588b580cd9 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/groovy/annotation_feature.test |
@@ -0,0 +1,17 @@ |
+@BaseScript MyBaseClass baseScript |
+@DelegatesTo(EmailSpec) |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["annotation", "@BaseScript"], |
+ " MyBaseClass baseScript\r\n", |
+ ["annotation", "@DelegatesTo"], |
+ ["punctuation", "("], |
+ "EmailSpec", |
+ ["punctuation", ")"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for annotations. |