From: Steven Schubiger Date: Mon, 17 Aug 2015 18:17:03 +0000 (+0200) Subject: Switch from TAP::Harness to Test::Harness X-Git-Tag: v0.57~4^2~5 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=c4009516f582e1a595e57d07b062b9339a3f215c Switch from TAP::Harness to Test::Harness in order to increase portability. --- diff --git a/test.pl b/test.pl index 32b1b51..9b0a64f 100755 --- a/test.pl +++ b/test.pl @@ -8,7 +8,7 @@ use constant false => 0; use File::Temp qw(tempfile tempdir tmpnam); use IPC::Open3 qw(open3); use Symbol qw(gensym); -use TAP::Harness; +use Test::Harness qw(runtests); use Test::More; my $tests = 25; @@ -32,9 +32,8 @@ my $write_to_tmpfile = sub }; { - my @tests = glob('t/*.t'); - my $harness = TAP::Harness->new; - $harness->runtests(@tests); + my @test_files = glob('t/*.t'); + runtests(@test_files); } plan tests => $tests;