summaryrefslogtreecommitdiff
path: root/cpan/Test-Harness/t/compat/inc_taint.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Test-Harness/t/compat/inc_taint.t')
-rw-r--r--cpan/Test-Harness/t/compat/inc_taint.t9
1 files changed, 3 insertions, 6 deletions
diff --git a/cpan/Test-Harness/t/compat/inc_taint.t b/cpan/Test-Harness/t/compat/inc_taint.t
index e74ede02cd..05e8283d65 100644
--- a/cpan/Test-Harness/t/compat/inc_taint.t
+++ b/cpan/Test-Harness/t/compat/inc_taint.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
BEGIN {
- use lib 't/lib';
+ use lib 't/lib';
}
use strict;
@@ -26,11 +26,8 @@ sub _all_ok {
tie *NULL, 'Dev::Null' or die $!;
select NULL;
- my ( $tot, $failed ) = Test::Harness::execute_tests(
- tests => [
- 't/sample-tests/inc_taint'
- ]
- );
+ my ( $tot, $failed )
+ = Test::Harness::execute_tests( tests => ['t/sample-tests/inc_taint'] );
select STDOUT;
ok( _all_ok($tot), 'tests with taint on preserve @INC' );