From b5447225ac6d1a6f82cd137cb72d25069c6c973a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 5 Jun 2007 23:25:38 +0000 Subject: [PATCH] ok 1 => pass; ok 0 => fail and report the path in the test --- t/maint/php-lint.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/maint/php-lint.t b/t/maint/php-lint.t index e65d689509..6687a08940 100644 --- a/t/maint/php-lint.t +++ b/t/maint/php-lint.t @@ -26,8 +26,8 @@ for my $file (@files) { waitpid $pid, 0; if ( $? == 0 ) { - ok 1 => "Looks fine"; + pass($file); } else { - ok 0 => "$file does not pass php linter. Error was: $res"; + fail("$file does not pass php -l. Error was: $res"); } } -- 2.20.1