From: Josie Messa Date: Tue, 11 Mar 2008 09:45:30 +0000 (+0000) Subject: - Added extra whitespace around error messages in expected output X-Git-Tag: php-5.2.6RC3~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a93e109e1b639fa6433cc392f4cb7c4fd9360e4;p=php - Added extra whitespace around error messages in expected output --- diff --git a/ext/standard/tests/dir/closedir_variation3.phpt b/ext/standard/tests/dir/closedir_variation3.phpt index d0e3412b6c..b9b5e67e7a 100644 --- a/ext/standard/tests/dir/closedir_variation3.phpt +++ b/ext/standard/tests/dir/closedir_variation3.phpt @@ -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) diff --git a/ext/standard/tests/dir/readdir_variation7.phpt b/ext/standard/tests/dir/readdir_variation7.phpt index 86bd43061e..0211542937 100644 --- a/ext/standard/tests/dir/readdir_variation7.phpt +++ b/ext/standard/tests/dir/readdir_variation7.phpt @@ -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=== diff --git a/ext/standard/tests/dir/rewinddir_variation3.phpt b/ext/standard/tests/dir/rewinddir_variation3.phpt index b681e470f6..2a2af89e63 100644 --- a/ext/standard/tests/dir/rewinddir_variation3.phpt +++ b/ext/standard/tests/dir/rewinddir_variation3.phpt @@ -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