diff options
Diffstat (limited to 't/maint/php-tag.t')
-rw-r--r-- | t/maint/php-tag.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/maint/php-tag.t b/t/maint/php-tag.t index 80b870b7..5093ca7f 100644 --- a/t/maint/php-tag.t +++ b/t/maint/php-tag.t @@ -17,11 +17,11 @@ plan tests => scalar @files; for my $file (@files) { my $cont = slurp $file; if ( $cont =~ m<<\?php .* \?>>xs ) { - ok 1 => "$file has <?php ?>"; + pass "$file has <?php ?>"; } elsif ( $cont =~ m<<\? .* \?>>xs ) { - ok 0 => "$file does not use <? ?>"; + fail "$file does not use <? ?>"; } else { - ok 1 => "$file has neither <?php ?> nor <? ?>, check it"; + pass "$file has neither <?php ?> nor <? ?>, check it"; } } |