diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-10-03 15:08:35 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-10-03 15:08:35 +0000 |
commit | 2db40e90730d5fd105e3f74faa4d22f352568b99 (patch) | |
tree | f6f9ace3ba7b97e9b7fd2c54ff7e1149f7fb85b3 /lib | |
parent | 532546992ea8d87ae83c54daa3f9d39aad8df02c (diff) | |
download | perl-2db40e90730d5fd105e3f74faa4d22f352568b99.tar.gz |
Quiet warnings in new test for ExtUtils::Command.
p4raw-id: //depot/perl@28929
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/t/eu_command.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ExtUtils/t/eu_command.t b/lib/ExtUtils/t/eu_command.t index 4004c7bacc..7446f5f005 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(); |