Permalink
Browse files

Avoid uninitialized value warnings when testing in development.

  • Loading branch information...
1 parent caaa3ad commit d30f5b361699c00ef539499bac35c3f5cbd5ef66 @rcaputo committed Jul 11, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/00_info.t
View
@@ -12,8 +12,8 @@ $POE::Test::Loops::VERSION = "doesn't seem to be installed" if $@;
# idea from Test::Harness, thanks!
diag(
- "Testing POE $POE::VERSION, ",
- "POE::Test::Loops $POE::Test::Loops::VERSION, ",
+ "Testing POE ", ($POE::VERSION || -1), ", ",
+ "POE::Test::Loops ", ($POE::Test::Loops::VERSION || -1), ", ",
"Perl $], ",
"$^X on $^O"
);

0 comments on commit d30f5b3

Please sign in to comment.