projects
/
catagits/Web-Simple.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4cf84c5
)
better test for unimporting
Arthur Axel 'fREW' Schmidt [Thu, 3 Dec 2009 05:14:11 +0000 (23:14 -0600)]
t/css_declare.t
patch
|
blob
|
blame
|
history
diff --git
a/t/css_declare.t
b/t/css_declare.t
index
1427940
..
f681508
100644
(file)
--- a/
t/css_declare.t
+++ b/
t/css_declare.t
@@
-4,7
+4,6
@@
use Test::More qw(no_plan);
{
package Foo;
-
sub foo {
use CSS::Declare;
return (
@@
-20,5
+19,5
@@
is(
'Basic CSS::Declare usage'
);
-ok(!eval "color 'red'", 'Death on use of unimported tag');
+ok(!Foo->can('color'), 'Death on use of unimported tag');