Skip to content

Commit 3962f00

Browse files
committed
Fix spl test cleanup
1 parent ad136e6 commit 3962f00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/spl/tests/fileobject_005.phpt

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ Mark Ammann
66
--FILE--
77
<?php
88

9-
set_include_path(dirname(__DIR__));
10-
119
$path = __DIR__.DIRECTORY_SEPARATOR.'fileobject_005.txt';
1210
touch($path);
1311

14-
$fo = new SplFileObject('tests'.DIRECTORY_SEPARATOR.'fileobject_005.txt', 'w+', true);
12+
$fo = new SplFileObject($path, 'w+', true);
1513
$fo->fwrite("blahlubba");
1614
var_dump($fo->ftruncate(4));
1715

0 commit comments

Comments
 (0)