This commit is contained in:
madflow 2016-10-16 09:48:02 +02:00
parent 91e3256299
commit 9989616772

View File

@ -455,6 +455,7 @@ class WriterTest extends \PHPUnit_Framework_TestCase
{
$fileName = 'test_illegal_characters.ods';
$dataRows = [
['I am a text'],
['I am a vertical tab:' . "\v"],
['I am a form feed:' . "\f"],
];
@ -470,9 +471,10 @@ class WriterTest extends \PHPUnit_Framework_TestCase
try {
foreach ($reader->getSheetIterator() as $sheetIndex => $sheet) {
foreach ($sheet->getRowIterator() as $rowIndex => $row) {
}
}
$canBeRead = true;
}
}
$reader->close();
} catch(\Exception $e) {}