This commit is contained in:
madflow authored and Adrien Loison committed 2016-06-08 09:50:00 -07:00
1 parent 70c81e809f
commit cd38ba093e
3 files changed
+16 -1

No files matched your search

+14
View File
@@ -468,6 +468,20 @@ class ReaderTest extends \PHPUnit_Framework_TestCase
$this->assertEquals($expectedRows, $allRows, 'Text in hyperlinks should be read');
}
/**
* @return void
*/
public function testReaderShouldReadInlineFontFormattingAsText()
{
$allRows = $this->getAllRowsForFile('sheet_with_inline_font_formatting.ods');
$expectedRows = [
['I am a yellow bird']
];
$this->assertEquals($expectedRows, $allRows, 'Text formatted inline should be read');
}
/**
* @param string $fileName
* @param bool|void $shouldFormatDates