From 09c316399b8a10f3d171bb067f8dad3d41bdfb3e Mon Sep 17 00:00:00 2001 From: Josie Messa Date: Tue, 11 Mar 2008 10:20:06 +0000 Subject: [PATCH] - Added extra whitespace around error messages in expected output --- ext/standard/tests/dir/closedir_variation3.phpt | 4 ++++ ext/standard/tests/dir/rewinddir_variation3.phpt | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ext/standard/tests/dir/closedir_variation3.phpt b/ext/standard/tests/dir/closedir_variation3.phpt index 9ad5f461fe..c505d06db5 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) @@ -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) diff --git a/ext/standard/tests/dir/rewinddir_variation3.phpt b/ext/standard/tests/dir/rewinddir_variation3.phpt index e7e1e2762a..e45a90d0d8 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 @@ -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 -- 2.50.1