summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-10-03 15:08:35 +0000
committerSteve Peters <steve@fisharerojo.org>2006-10-03 15:08:35 +0000
commit2db40e90730d5fd105e3f74faa4d22f352568b99 (patch)
treef6f9ace3ba7b97e9b7fd2c54ff7e1149f7fb85b3 /lib
parent532546992ea8d87ae83c54daa3f9d39aad8df02c (diff)
downloadperl-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.t4
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();