From: Steve Peters Date: Tue, 3 Oct 2006 15:08:35 +0000 (+0000) Subject: Quiet warnings in new test for ExtUtils::Command. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2db40e90730d5fd105e3f74faa4d22f352568b99;p=p5sagit%2Fp5-mst-13.2.git Quiet warnings in new test for ExtUtils::Command. p4raw-id: //depot/perl@28929 --- diff --git a/lib/ExtUtils/t/eu_command.t b/lib/ExtUtils/t/eu_command.t index 4004c7b..7446f5f 100644 --- a/lib/ExtUtils/t/eu_command.t +++ b/lib/ExtUtils/t/eu_command.t @@ -58,7 +58,7 @@ BEGIN { ok( test_f(), 'testing non-existent file' ); @ARGV = ( $Testfile ); - cmp_ok( ! test_f(), '==', (-f $Testfile), 'testing non-existent file' ); + is( ! test_f(), '', 'testing non-existent file' ); # these are destructive, have to keep setting @ARGV @ARGV = ( $Testfile ); @@ -188,7 +188,7 @@ BEGIN { ok( test_d(), 'testing non-existent directory' ); @ARGV = ( $test_dir ); - cmp_ok( ! test_d(), '==', (-d $test_dir), 'testing non-existent dir' ); + is( ! test_d(), '', 'testing non-existent dir' ); @ARGV = ( $test_dir ); mkpath();