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===

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to