diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CsvTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CsvTest.php b/test/CsvTest.php index 5dc79c2..2172cf2 100644 --- a/test/CsvTest.php +++ b/test/CsvTest.php @@ -112,7 +112,7 @@ class CsvTest extends PHPUnit_Framework_TestCase public function testDetectDelimiterList() { - $this->assertSame([','], $this->csv->detectDelimiterList()); + $this->assertSame([4 => ','], $this->csv->detectDelimiterList()); } public function testBOMSettings() @@ -176,7 +176,7 @@ class CsvTest extends PHPUnit_Framework_TestCase $data->fputcsv(['toto', 'tata', 'tutu']); $csv = Writer::createFromFileObject($data); - $this->assertSame(['|', ';'], $csv->detectDelimiterList(5, ['|'])); + $this->assertSame([12 => '|', 4 => ';'], $csv->detectDelimiterList(5, ['|'])); } /** |