Skip to content

Commit bc0455a

Browse files
authored
Merge pull request #22 from Julian-Forrer/more-tests
1 more unit test
2 parents eae0c86 + ed1048c commit bc0455a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/CsvTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ public function testFromString()
4747
$this->assertEquals($this->csvString, $csv->getData());
4848
}
4949

50+
/**
51+
* @group csv-basic-test
52+
*/
53+
public function testEmptyCsvString()
54+
{
55+
$csv = $this->initCsv(null)->fromString("");
56+
$this->assertEquals("", $csv->getData());
57+
}
5058
/**
5159
* @group csv-conversion-test
5260
*/

0 commit comments

Comments
 (0)