]> granicus.if.org Git - php/commitdiff
- Added extra whitespace around error messages in expected output
authorJosie Messa <jmessa@php.net>
Tue, 11 Mar 2008 09:45:30 +0000 (09:45 +0000)
committerJosie Messa <jmessa@php.net>
Tue, 11 Mar 2008 09:45:30 +0000 (09:45 +0000)
ext/standard/tests/dir/closedir_variation3.phpt
ext/standard/tests/dir/readdir_variation7.phpt
ext/standard/tests/dir/rewinddir_variation3.phpt

index d0e3412b6c19164ba4f557385dc580fa05da9d0d..b9b5e67e7a4f11d5fd7da00971db481cc05bf72a 100644 (file)
@@ -35,7 +35,9 @@ if(is_resource($fp)) {
 resource(%d) of type (stream)
 
 -- Try to close the file pointer using closedir() --
+
 Warning: closedir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check file pointer: --
 resource(%d) of type (stream)
index 86bd43061e7a8887ec1383007fd8dcc3248d8b79..02115429373aca904888ba2f40f1d5a46d139f4e 100644 (file)
@@ -31,6 +31,7 @@ EOT;
 *** Testing readdir() : usage variations ***
 resource(%d) of type (stream)
 
+
 Warning: readdir(): %d is not a valid Directory resource in %s on line %d
 bool(false)
 ===DONE===
index b681e470f6daa8b5f67d867880b41d9ba75ab1f9..2a2af89e630299b744f4945d4b64a30c1d73be75 100644 (file)
@@ -34,7 +34,9 @@ if ($result1 === $result2) {
 
 -- Open a file using fopen --
 resource(%d) of type (stream)
-NULL
+
+Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
+bool(false)
 
 -- Check if rewinddir() has repositioned the file pointer --
 rewinddir() does not work on file pointers