From: Ant Phillips Date: Wed, 31 Dec 2008 10:18:20 +0000 (+0000) Subject: Revert to the previous version for these tests as they were overwritten by mistake... X-Git-Tag: php-5.2.9RC1~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fd717230692197c8ae6383f0e701c9d0d0c27cf;p=php Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). --- diff --git a/ext/standard/tests/file/fflush_error.phpt b/ext/standard/tests/file/fflush_error.phpt index 99ed328a84..bfbd6cc1b1 100644 --- a/ext/standard/tests/file/fflush_error.phpt +++ b/ext/standard/tests/file/fflush_error.phpt @@ -24,10 +24,9 @@ if($file_handle == false) var_dump( fflush($file_handle, $file_handle) ); fclose($file_handle); -fflush($file_handle); // test invalid arguments : non-resources -echo "\n-- Testing fflush(): with invalid arguments --\n"; +echo "-- Testing fflush(): with invalid arguments --\n"; $invalid_args = array ( "string", 10, @@ -61,9 +60,6 @@ NULL Warning: Wrong parameter count for fflush() in %s on line %d NULL - -Warning: fflush(): %d is not a valid stream resource in %s on line %d - -- Testing fflush(): with invalid arguments -- -- Iteration 1 --