mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Add test for getTotalDataRowCount without loading data
This commit is contained in:
@@ -73,4 +73,8 @@ class DataRowCountTest extends TestCase {
|
||||
$this->csv->loadDataString($sInput);
|
||||
$this->assertEquals(1, $this->csv->getTotalDataRowCount());
|
||||
}
|
||||
|
||||
public function testGetTotalRowCountNoData() {
|
||||
self::assertFalse($this->csv->getTotalDataRowCount());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user