summaryrefslogtreecommitdiffstats
path: root/test/ControlsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/ControlsTest.php')
-rw-r--r--test/ControlsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ControlsTest.php b/test/ControlsTest.php
index 3976499..f8b8d63 100644
--- a/test/ControlsTest.php
+++ b/test/ControlsTest.php
@@ -51,7 +51,7 @@ class ControlsTest extends PHPUnit_Framework_TestCase
public function testDetectDelimiterList()
{
- $this->assertSame([4 => ','], $this->csv->detectDelimiterList());
+ $this->assertSame([',' => 4], $this->csv->detectDelimiterList());
}
public function testBOMSettings()
@@ -125,7 +125,7 @@ class ControlsTest extends PHPUnit_Framework_TestCase
$data->fputcsv(['toto', 'tata', 'tutu']);
$csv = Writer::createFromFileObject($data);
- $this->assertSame([12 => '|', 4 => ';'], $csv->detectDelimiterList(5, ['|']));
+ $this->assertSame(['|' => 12, ';' => 4], $csv->detectDelimiterList(5, ['|']));
}
/**