Index: lib/src/prism/tests/languages/elixir/attribute_feature.test |
diff --git a/lib/src/prism/tests/languages/elixir/attribute_feature.test b/lib/src/prism/tests/languages/elixir/attribute_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..273c2a402f0f2efcd795e381d510d39107cc770a |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/elixir/attribute_feature.test |
@@ -0,0 +1,19 @@ |
+@vsn 2 |
+@moduledoc """ |
+foobar |
+""" |
+@tag :external |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["attribute", "@vsn"], ["number", "2"], |
+ ["attribute", "@moduledoc"], ["string", [ |
+ "\"\"\"\r\nfoobar\r\n\"\"\"" |
+ ]], |
+ ["attribute", "@tag"], ["atom", ":external"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for module attributes. |