Permalink
Browse files

test fix for perl 5.6

  • Loading branch information...
1 parent 116df1c commit a912db0bf640f084af24055cd6dfb99beee8fa8b @rjbs committed Feb 16, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 Changes
  2. +1 −1 t/basic.t
View
@@ -1,6 +1,8 @@
Revision history for {{$dist->name}}
{{$NEXT}}
+ avoid tickling an overloading bug in perl 5.6 during testing (thanks,
+ Zefram)
0.009 2012-02-09 15:26:11 America/New_York
advise against using isnt(exception{...},undef)
View
@@ -67,7 +67,7 @@ if ($] < 5.013001) {
{
package FalseObject;
- use overload 'bool' => sub { return };
+ use overload 'bool' => sub { 0 };
}
like(

0 comments on commit a912db0

Please sign in to comment.