From 8e2475a787bf6a04513e5415432faf1b412bb1bb Mon Sep 17 00:00:00 2001 From: Eyal Teutsch Date: Sun, 12 Dec 2010 07:24:51 +0000 Subject: [PATCH] moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation* tests --- ext/spl/tests/SplFileObject_fwrite_variation_001.phpt | 4 ++++ ext/spl/tests/SplFileObject_fwrite_variation_002.phpt | 4 ++++ ext/spl/tests/SplFileObject_fwrite_variation_003.phpt | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt b/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt index f8d518f9a6..61741a8bf5 100644 --- a/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt +++ b/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt @@ -9,6 +9,10 @@ if(file_exists($file)) { $obj = New SplFileObject($file,'w'); $obj->fwrite('test_write',4); var_dump(file_get_contents($file)); +?> +--CLEAN-- +fwrite('test_write',12); var_dump(file_get_contents($file)); +?> +--CLEAN-- +fwrite('"test" \'write\''); var_dump(file_get_contents($file)); +?> +--CLEAN-- +