summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-02-02 12:45:11 +0100
committerIgnace Nyamagana Butera <nyamsprod@gmail.com>2015-02-02 12:45:11 +0100
commitb15c0b18c48b808a6bf1ad610b96f1ac2fc4a2e5 (patch)
tree546d433f616cc7eb90d9a7baeecfc1e0d7bd6cdb /test
parent3cf545c4c170aacc9ddd56f93fb7f6c6bc4cd811 (diff)
downloadcsv-b15c0b18c48b808a6bf1ad610b96f1ac2fc4a2e5.zip
csv-b15c0b18c48b808a6bf1ad610b96f1ac2fc4a2e5.tar.gz
csv-b15c0b18c48b808a6bf1ad610b96f1ac2fc4a2e5.tar.bz2
improve lib
Diffstat (limited to 'test')
-rw-r--r--test/CsvTest.php4
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, ['|']));
}
/**