Quiet warnings in new test for ExtUtils::Command.
authorSteve Peters <steve@fisharerojo.org>
Tue, 3 Oct 2006 15:08:35 +0000 (15:08 +0000)
committerSteve Peters <steve@fisharerojo.org>
Tue, 3 Oct 2006 15:08:35 +0000 (15:08 +0000)
p4raw-id: //depot/perl@28929

lib/ExtUtils/t/eu_command.t

index 4004c7b..7446f5f 100644 (file)
@@ -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();