Skip to content

Commit e7c3f44

Browse files
committed
refix test
1 parent 8d1aab2 commit e7c3f44

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ext/opcache/tests/blacklist-win32.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ $conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]);
1818
print_r($conf);
1919
include("blacklist.inc");
2020
$status = opcache_get_status();
21-
/* Probably should only test for > 0 here.*/
22-
print_r(count($status['scripts']));
21+
print_r(count($status['scripts']) > 0);
2322
?>
2423
--EXPECTF--
2524
Array
@@ -33,4 +32,4 @@ Array
3332
[6] => %scurrent.php
3433
)
3534
ok
36-
5
35+
1

0 commit comments

Comments
 (0)