diff options
author | ignace nyamagana butera <nyamsprod@gmail.com> | 2015-12-10 12:32:13 +0100 |
---|---|---|
committer | ignace nyamagana butera <nyamsprod@gmail.com> | 2015-12-10 12:32:13 +0100 |
commit | 8558a84f1ef29ff9b1a585c8fa768132d9164405 (patch) | |
tree | 1e31c6cda56803d18c9014fede2b2f76fabbde18 /test/ControlsTest.php | |
parent | b4d751c570870a7896e64b4f00af90c48b68a387 (diff) | |
download | csv-8558a84f1ef29ff9b1a585c8fa768132d9164405.zip csv-8558a84f1ef29ff9b1a585c8fa768132d9164405.tar.gz csv-8558a84f1ef29ff9b1a585c8fa768132d9164405.tar.bz2 |
Improve BOM API
Diffstat (limited to 'test/ControlsTest.php')
-rw-r--r-- | test/ControlsTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ControlsTest.php b/test/ControlsTest.php index 0e25a60..87854bb 100644 --- a/test/ControlsTest.php +++ b/test/ControlsTest.php @@ -48,11 +48,11 @@ class ControlsTest extends AbstractTestCase public function testBOMSettings() { - $this->assertNull($this->csv->getOutputBOM()); + $this->assertSame('', $this->csv->getOutputBOM()); $this->csv->setOutputBOM(Reader::BOM_UTF8); $this->assertSame(Reader::BOM_UTF8, $this->csv->getOutputBOM()); - $this->csv->setOutputBOM(); - $this->assertNull($this->csv->getOutputBOM()); + $this->csv->setOutputBOM(''); + $this->assertSame('', $this->csv->getOutputBOM()); } public function testAddBOMSequences() |