summaryrefslogtreecommitdiff
path: root/t/maint/php-lint.t
diff options
context:
space:
mode:
Diffstat (limited to 't/maint/php-lint.t')
-rw-r--r--t/maint/php-lint.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/maint/php-lint.t b/t/maint/php-lint.t
index e65d6895..6687a089 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");
}
}