This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
test.pl: ok mess to stdout not stderr on success
authorDavid Mitchell <davem@iabyn.com>
Thu, 17 Feb 2011 13:39:14 +0000 (13:39 +0000)
committerDavid Mitchell <davem@iabyn.com>
Thu, 17 Feb 2011 13:39:14 +0000 (13:39 +0000)
commit9b9ae264c15c6e735eff76081e59697eccac2e76
tree7b786968d53a429b26bcaf2c98f3bf7c6abf0e21
parent909f2da27d169fb565d24bd492e53ab77a941091
test.pl: ok mess to stdout not stderr on success

sub _ok() uses _diag() to print any additional messages passed as
args.  These go to stderr, and so mess up harness output. Make it
instead use note() on success, which goes to stdout.
t/test.pl