Login
Fixed failing statistics test. It appears that I miscounted
authorJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Fri, 1 Jun 2007 08:09:24 +0000 (08:09 +0000)
committerJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Fri, 1 Jun 2007 08:09:24 +0000 (08:09 +0000)
the number of violations, but I have doubts that was the
real problem.  There might be something more sinister going on.

t/15_statistics.t

index 1c0c550..d7adc8d 100644 (file)
@@ -46,7 +46,7 @@ package Foo;
 
 use My::Module;
 $this = $that if $condition;
-sub foo { return @list if $condition };
+sub foo { return @list unless $condition };
 END_PERL
 
 #-----------------------------------------------------------------------------