Fix can_ok check in t/dwarn.t to use a string so the can_ok resolves to a sub call...
Matt S Trout [Sat, 13 Feb 2010 18:46:34 +0000 (18:46 +0000)]
t/dwarn.t

index 334813a..32fc41b 100644 (file)
--- a/t/dwarn.t
+++ b/t/dwarn.t
@@ -7,4 +7,4 @@ use Test::More qw(no_plan);
 
 can_ok __PACKAGE__, qw{Dwarn DwarnS};
 
-can_ok Devel::Dwarn, qw{Dwarn DwarnS};
+can_ok 'Devel::Dwarn', qw{Dwarn DwarnS};