From: Josie Messa Date: Tue, 11 Mar 2008 10:00:26 +0000 (+0000) Subject: - Added extra whitespace around error messages in expected output X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~624 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5d9a8ea42bcaedf1a57741d8205b4044eab7387;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/rewinddir_variation3.phpt b/ext/standard/tests/dir/rewinddir_variation3.phpt index b681e470f6..b9410c3175 100644 --- a/ext/standard/tests/dir/rewinddir_variation3.phpt +++ b/ext/standard/tests/dir/rewinddir_variation3.phpt @@ -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