Skip to content

Commit

Permalink
Fix run-tests.php counting an uncountable
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan3dc committed Nov 13, 2016
1 parent 55ddbbd commit 259db22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ function run_test($php, $file, $env)
$IN_REDIRECT['dir'] = realpath(dirname($file));
$IN_REDIRECT['prefix'] = trim($section_text['TEST']);

if (count($IN_REDIRECT['TESTS']) == 1) {
if (!empty($IN_REDIRECT['TESTS'])) {

if (is_array($org_file)) {
$test_files[] = $org_file[1];
Expand Down

0 comments on commit 259db22

Please sign in to comment.