X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F024-isa.t;h=670a611a7587185f7d9769bcd17d66ce9503bb51;hb=8517d2ffa37a1201d9bf388d60b23a5daea27272;hp=ae8a594f1cf4e9ece2acf8aa970da8bedbbd22f0;hpb=d2e2ac489f89536141bb34be0919cd65f74de3e9;p=gitmo%2FMouse.git diff --git a/t/024-isa.t b/t/024-isa.t index ae8a594..670a611 100644 --- a/t/024-isa.t +++ b/t/024-isa.t @@ -84,7 +84,7 @@ for my $type (@types) { } for my $value (@{ $values_for_type{$type}{invalid} }) { - my $display = defined($value) ? $value : 'undef'; + my $display = defined($value) ? overload::StrVal($value) : 'undef'; my $via_new; throws_ok { $via_new = Class->new($type => $value);