com php-src: fix test, the key may be a float value: ext/standard/tests/file/realpath_cache.phpt
| From: | Xinchen Hui | Date: | Wed, 18 Jul 2012 11:21:25 +0000 |
| Subject: | com php-src: fix test, the key may be a float value: ext/standard/tests/file/realpath_cache.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69630@lists.php.net to get a copy of this message | ||
Commit: 41a9c681a0a8b27ab121d2a4649fccd16c97cadd
Author: Xinchen Hui <laruence@php.net> Wed, 18 Jul 2012 19:21:25 +0800
Parents: 25be12a3bcd4a56a094d28b73cdc5cee68970bf3
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=41a9c681a0a8b27ab121d2a4649fccd16c97cadd
Log:
fix test, the key may be a float value
Changed paths:
M ext/standard/tests/file/realpath_cache.phpt
Diff:
diff --git a/ext/standard/tests/file/realpath_cache.phpt
b/ext/standard/tests/file/realpath_cache.phpt
index 92d6fc5..2dac21e 100644
--- a/ext/standard/tests/file/realpath_cache.phpt
+++ b/ext/standard/tests/file/realpath_cache.phpt
@@ -19,7 +19,7 @@ echo "Done\n";
int(%d)
array(4) {
["key"]=>
- %s(%d)
+ %s(%s)
["is_dir"]=>
bool(true)
["realpath"]=>