]> granicus.if.org Git - php/commitdiff
- Added extra whitespace around error messages in expected output
authorJosie Messa <jmessa@php.net>
Tue, 11 Mar 2008 10:00:26 +0000 (10:00 +0000)
committerJosie Messa <jmessa@php.net>
Tue, 11 Mar 2008 10:00:26 +0000 (10:00 +0000)
ext/standard/tests/dir/closedir_variation3.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 b681e470f6daa8b5f67d867880b41d9ba75ab1f9..b9410c3175cffb0fd3c677950241aa8b2cf8d225 100644 (file)
@@ -34,7 +34,8 @@ 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
 
 -- Check if rewinddir() has repositioned the file pointer --
 rewinddir() does not work on file pointers