CSS::Declare works with arrays instead of arrayrefs
[catagits/Web-Simple.git] / t / css_declare.t
index b9bcc23..1427940 100644 (file)
@@ -7,11 +7,10 @@ use Test::More qw(no_plan);
 
   sub foo {
     use CSS::Declare;
-    eval "color 'red'";
-    [
+    return (
        '*' => [ color 'red' ],
        'tr, td' => [ margin '1px' ],
-    ];
+    );
   }
 }