From 2db40e90730d5fd105e3f74faa4d22f352568b99 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Tue, 3 Oct 2006 15:08:35 +0000 Subject: [PATCH] Quiet warnings in new test for ExtUtils::Command. p4raw-id: //depot/perl@28929 --- lib/ExtUtils/t/eu_command.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.7.4