develooper Front page | perl.perl6.compiler | Postings from August 2010

[perl #76932] [BUG] Test.pm; lives_ok() not working with warn()

From:
Chris Fields
Date:
August 2, 2010 16:53
Subject:
[perl #76932] [BUG] Test.pm; lives_ok() not working with warn()
Message ID:
rt-3.6.HEAD-2463-1280768063-83.76932-82-0@perl.org
# New Ticket Created by  Chris Fields 
# Please include the string:  [perl #76932]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76932 >


Reported on IRC but was warnocked.

cjfields@pyrimidine:~/tests/perl6$ cat lives_ok.pl 
use v6;


use Test;
lives_ok { warn('Foo') };
done_testing;
cjfields@pyrimidine:~/tests/perl6$ perl6 lives_ok.pl 
not ok 1 - 
1..1
# Looks like you failed 1 tests of 1

chris




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About