com php-src: Cleanup temp test file: ext/spl/tests/SplFileObjec t_rewind_error001.phpt
| From: | Christopher Jones | Date: | Wed, 10 Jul 2013 18:17:52 +0000 |
| Subject: | com php-src: Cleanup temp test file: ext/spl/tests/SplFileObjec t_rewind_error001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72613@lists.php.net to get a copy of this message | ||
Commit: 3478ddc1f057d379bbe4b9524c4d208ed81bb309
Author: Christopher Jones <sixd@php.net> Wed, 10 Jul 2013 11:17:52 -0700
Parents: c0bfc57ba82082577d36e958219238de8d884be7
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3478ddc1f057d379bbe4b9524c4d208ed81bb309
Log:
Cleanup temp test file
Changed paths:
M ext/spl/tests/SplFileObject_rewind_error001.phpt
Diff:
diff --git a/ext/spl/tests/SplFileObject_rewind_error001.phpt
b/ext/spl/tests/SplFileObject_rewind_error001.phpt
index bdb3301..ac536a0 100644
--- a/ext/spl/tests/SplFileObject_rewind_error001.phpt
+++ b/ext/spl/tests/SplFileObject_rewind_error001.phpt
@@ -14,5 +14,9 @@ $fo = new SplFileObject('testdata.csv');
$fo->rewind( "invalid" );
?>
+--CLEAN--
+<?php
+unlink('testdata.csv');
+?>
--EXPECTF--
Warning: SplFileObject::rewind() expects exactly 0 parameters, 1 given in %s on line %d