summaryrefslogtreecommitdiff
path: root/cpan/Test-Simple/lib/Test/Builder/Tester.pm
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2016-10-13 08:29:16 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2016-10-13 08:29:16 +0100
commit061828b3b8df6f38383ada8703fd195cd2f6ef74 (patch)
tree736eab434c066af139016bd08b58855119013c3b /cpan/Test-Simple/lib/Test/Builder/Tester.pm
parent39250dd4375e1aed90b8a926fd4c0e343b83a4d8 (diff)
downloadperl-061828b3b8df6f38383ada8703fd195cd2f6ef74.tar.gz
Upgrade Test::Simple from version 1.302056 to 1.302059
Diffstat (limited to 'cpan/Test-Simple/lib/Test/Builder/Tester.pm')
-rw-r--r--cpan/Test-Simple/lib/Test/Builder/Tester.pm11
1 files changed, 7 insertions, 4 deletions
diff --git a/cpan/Test-Simple/lib/Test/Builder/Tester.pm b/cpan/Test-Simple/lib/Test/Builder/Tester.pm
index c4ea80c75b..716d521ec9 100644
--- a/cpan/Test-Simple/lib/Test/Builder/Tester.pm
+++ b/cpan/Test-Simple/lib/Test/Builder/Tester.pm
@@ -1,7 +1,7 @@
package Test::Builder::Tester;
use strict;
-our $VERSION = '1.302056';
+our $VERSION = '1.302059';
use Test::Builder;
use Symbol;
@@ -450,11 +450,12 @@ tests than we strictly should have and it'll register any failures we
had that we were testing for as real failures.
The color function doesn't work unless L<Term::ANSIColor> is
-compatible with your terminal.
+compatible with your terminal. Additionally, L<Win32::Console::ANSI>
+must be installed on windows platforms for color output.
Bugs (and requests for new features) can be reported to the author
-though the CPAN RT system:
-L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Builder-Tester>
+though GitHub:
+L<https://github.com/Test-More/test-more/issues>
=head1 AUTHOR
@@ -560,6 +561,8 @@ sub complaint {
# get color
eval { require Term::ANSIColor };
unless($@) {
+ eval { require Win32::Console::ANSI } if 'MSWin32' eq $^O; # support color on windows platforms
+
# colours
my $green = Term::ANSIColor::color("black") . Term::ANSIColor::color("on_green");