Skip to content

Commit 4e9a654

Browse files
committed
Fix file conflicts in SplFileObject fputcsv tests
1 parent 938d235 commit 4e9a654

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/spl/tests/SplFileObject_fputcsv_variation13.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Test fputcsv() : usage variations - with default enclosure & delimiter of two ch
88

99
echo "*** Testing fputcsv() : with default enclosure & delimiter of two chars ***\n";
1010

11-
$fo = new SplFileObject(__DIR__ . '/SplFileObject_fputcsv.csv', 'w');
11+
$fo = new SplFileObject(__DIR__ . '/SplFileObject_fputcsv_variation13.csv', 'w');
1212

1313
var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '"'));
1414

@@ -18,7 +18,7 @@ echo "Done\n";
1818
?>
1919
--CLEAN--
2020
<?php
21-
$file = __DIR__ . '/SplFileObject_fputcsv.csv';
21+
$file = __DIR__ . '/SplFileObject_fputcsv_variation13.csv';
2222
unlink($file);
2323
?>
2424
--EXPECTF--

ext/spl/tests/SplFileObject_fputcsv_variation14.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Test fputcsv() : usage variations - with enclosure & delimiter of two chars
88

99
echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***\n";
1010

11-
$fo = new SplFileObject(__DIR__ . '/SplFileObject_fputcsv.csv', 'w');
11+
$fo = new SplFileObject(__DIR__ . '/SplFileObject_fputcsv_variation14.csv', 'w');
1212

1313
var_dump($fo->fputcsv(array('water', 'fruit'), ',,', '""'));
1414

@@ -18,7 +18,7 @@ echo "Done\n";
1818
?>
1919
--CLEAN--
2020
<?php
21-
$file = __DIR__ . '/SplFileObject_fputcsv.csv';
21+
$file = __DIR__ . '/SplFileObject_fputcsv_variation14.csv';
2222
unlink($file);
2323
?>
2424
--EXPECTF--

0 commit comments

Comments
 (0)