cvs: php-src /ext/spl/tests dit_001.phpt
| From: | Marcus Boerger | Date: | Wed, 29 Sep 2004 09:43:33 +0000 |
| Subject: | cvs: php-src /ext/spl/tests dit_001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-28832@lists.php.net to get a copy of this message | ||
helly Wed Sep 29 05:43:33 2004 EDT
Modified files:
/php-src/ext/spl/tests dit_001.phpt
Log:
- Fix test
http://cvs.php.net/diff.php/php-src/ext/spl/tests/dit_001.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/spl/tests/dit_001.phpt
diff -u php-src/ext/spl/tests/dit_001.phpt:1.1 php-src/ext/spl/tests/dit_001.phpt:1.2
--- php-src/ext/spl/tests/dit_001.phpt:1.1 Thu Sep 9 03:46:19 2004
+++ php-src/ext/spl/tests/dit_001.phpt Wed Sep 29 05:43:33 2004
@@ -1,11 +1,15 @@
---TEST--
-SPL: Problem with casting to string
---FILE--
-<?php
-$d = new DirectoryIterator('.');
-preg_match('/x/', $d);
-var_dump($d);
-?>
---EXPECTF--
-object(DirectoryIterator)#%d (0) {
-}
+--TEST--
+SPL: Problem with casting to string
+--FILE--
+<?php
+$d = new DirectoryIterator('.');
+var_dump($d);
+preg_match('/x/', $d);
+var_dump(is_string($d));
+?>
+===DONE===
+--EXPECTF--
+object(DirectoryIterator)#%d (0) {
+}
+bool(true)
+===DONE===