diff options
author | Nikita Popov <nikic@php.net> | 2012-08-16 17:46:34 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2012-08-16 17:46:34 +0200 |
commit | 9a38bd66c87e8f6e1ac8e28014bb42686d5742d3 (patch) | |
tree | df52328474afc6052b282a6cb7271e6951e9908f /ext/standard/tests/php_ini_loaded_file.phpt | |
parent | fc26aa7f3e223ab8e3d5c07b4b0c6dd3cf09cb83 (diff) | |
download | php-git-9a38bd66c87e8f6e1ac8e28014bb42686d5742d3.tar.gz |
Fix php_ini_loaded_file() test
If running ./run-tests.php directly there isn't necessarily an ini file,
so the function can also return false.
Diffstat (limited to 'ext/standard/tests/php_ini_loaded_file.phpt')
-rw-r--r-- | ext/standard/tests/php_ini_loaded_file.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/tests/php_ini_loaded_file.phpt b/ext/standard/tests/php_ini_loaded_file.phpt index 747e0196f1..7d441582ee 100644 --- a/ext/standard/tests/php_ini_loaded_file.phpt +++ b/ext/standard/tests/php_ini_loaded_file.phpt @@ -10,5 +10,5 @@ precision=12 <?php var_dump(php_ini_loaded_file()); ?> ---EXPECTF-- -string(%d) "%sphp.ini" +--EXPECTREGEX-- +string\(\d+\) ".*php\.ini"|bool\(false\) |