diff options
author | Greg Beaver <cellog@php.net> | 2008-05-11 19:17:51 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-05-11 19:17:51 +0000 |
commit | 38d5943ee6e31f921fe40d7f0049cb14e8222b27 (patch) | |
tree | 6c5ec5fa4edd3435fd0d6a27a8af01304d2467b5 /ext/phar/tests/phar_buildfromdirectory5.phpt | |
parent | 5ddb49caec245fd9e055d348350198e0e57592a0 (diff) | |
download | php-git-38d5943ee6e31f921fe40d7f0049cb14e8222b27.tar.gz |
increase code coverage of funcinterceptors to 90%+, fix many bugs, fix errant wrong test condition in fgc_edgecases
Diffstat (limited to 'ext/phar/tests/phar_buildfromdirectory5.phpt')
-rw-r--r-- | ext/phar/tests/phar_buildfromdirectory5.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/phar/tests/phar_buildfromdirectory5.phpt b/ext/phar/tests/phar_buildfromdirectory5.phpt index fbf3e9b533..51e5cec691 100644 --- a/ext/phar/tests/phar_buildfromdirectory5.phpt +++ b/ext/phar/tests/phar_buildfromdirectory5.phpt @@ -15,7 +15,9 @@ foreach(range(1, 4) as $i) { try { $phar = new Phar(dirname(__FILE__) . '/buildfromdirectory.phar'); - var_dump($phar->buildFromDirectory(dirname(__FILE__) . '/testdir', '/\.txt/')); + $a = $phar->buildFromDirectory(dirname(__FILE__) . '/testdir', '/\.txt/'); + asort($a); + var_dump($a); } catch (Exception $e) { var_dump(get_class($e)); echo $e->getMessage() . "\n"; |