Index: lib/src/prism/tests/languages/swift/atrule_feature.test |
diff --git a/lib/src/prism/tests/languages/swift/atrule_feature.test b/lib/src/prism/tests/languages/swift/atrule_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ae307f5561644f9217d3176de6f5a9be24a55c26 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/swift/atrule_feature.test |
@@ -0,0 +1,33 @@ |
+@IBOutlet |
+@IBDesignable |
+@IBAction |
+@IBInspectable |
+@class_protocol |
+@exported |
+@noreturn |
+@NSCopying |
+@NSManaged |
+@objc |
+@UIApplicationMain |
+@auto_closure |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["atrule", "@IBOutlet"], |
+ ["atrule", "@IBDesignable"], |
+ ["atrule", "@IBAction"], |
+ ["atrule", "@IBInspectable"], |
+ ["atrule", "@class_protocol"], |
+ ["atrule", "@exported"], |
+ ["atrule", "@noreturn"], |
+ ["atrule", "@NSCopying"], |
+ ["atrule", "@NSManaged"], |
+ ["atrule", "@objc"], |
+ ["atrule", "@UIApplicationMain"], |
+ ["atrule", "@auto_closure"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for at-rules. |