diff options
author | Steven Schubiger <stsc@refcnt.org> | 2015-08-17 20:17:03 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2015-08-17 20:17:03 +0200 |
commit | c4009516f582e1a595e57d07b062b9339a3f215c (patch) | |
tree | 0a72e63c9adb68c28b050bff4c9ff1d4b5be7086 /test.pl | |
parent | bc0e7ee4a3198101dbe71fe050ae2bc0eaa8aa8f (diff) | |
download | colorize-c4009516f582e1a595e57d07b062b9339a3f215c.tar.gz colorize-c4009516f582e1a595e57d07b062b9339a3f215c.tar.bz2 |
Switch from TAP::Harness to Test::Harness
in order to increase portability.
Diffstat (limited to 'test.pl')
-rwxr-xr-x | test.pl | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; |