1 use strict; use warnings FATAL => 'all';
2 use Test::More qw(no_plan);
11 '*' => [ color 'red' ],
12 'tr, td' => [ margin '1px' ],
18 CSS::Declare::to_css_string(Foo::foo()),
19 '* {color:red} tr, td {margin:1px}',
20 'Basic CSS::Declare usage'
23 ok(!eval "color 'red'", 'Death on use of unimported tag');