Skip to content

Commit

Permalink
[type-based.t] fix another Bool stringification usage
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 22, 2010
1 parent ea847c7 commit 672abda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S06-multi/type-based.t
Expand Up @@ -27,7 +27,7 @@ is(foo('test'), 'Str test', 'dispatched to the Str sub');

my $num = '4';
is(foo(1.4), 'Rat 1.4', 'dispatched to the Num sub');
is(foo(1 == 1), 'Bool 1', 'dispatched to the Bool sub');
is(foo(1 == 1), 'Bool ' ~ True, 'dispatched to the Bool sub');
is(foo(/a/),'Regex Regex()','dispatched to the Rule sub');
is(foo(sub { 'baz' }), 'Sub baz', 'dispatched to the Sub sub');

Expand Down

0 comments on commit 672abda

Please sign in to comment.