ODS Reader should support num-rows-repeated for non empty rows (#335)

This commit is contained in:
Adrien Loison authored and GitHub committed 2016-10-17 10:51:12 -07:00
1 parent 5ef5647558
commit 2fafb63115
3 files changed
+17 -8

No files matched your search

+13
View File
@@ -78,6 +78,19 @@ class ReaderTest extends \PHPUnit_Framework_TestCase
$this->assertEquals([['foo']], $allRows);
}
/**
* @return void
*/
public function testReadShouldSupportNumberRowsRepeated()
{
$allRows = $this->getAllRowsForFile('sheet_with_number_rows_repeated.ods');
$expectedRows = [
['foo', 10.43],
['foo', 10.43],
];
$this->assertEquals($expectedRows, $allRows);
}
/**
* @return void
*/