]> 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:20:06 +0000 (10:20 +0000)
committerJosie Messa <jmessa@php.net>
Tue, 11 Mar 2008 10:20:06 +0000 (10:20 +0000)
ext/standard/tests/dir/closedir_variation3.phpt
ext/standard/tests/dir/rewinddir_variation3.phpt

index 9ad5f461feb7c60fc0915490a6822f85215bbf50..c505d06db575887a3a6423afadc2786dbb3440f6 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)
@@ -47,7 +49,9 @@ resource(%d) of type (stream)
 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 e7e1e2762ae7e131cf3562db84b1a07da218e619..e45a90d0d879145abb975f38d94278b91ee4cec4 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
@@ -44,7 +46,9 @@ rewinddir() does not work on file pointers
 
 -- 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