Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function testEnclosure($format) |
||
26 | { |
||
27 | $value = '<img alt="" src="http://example.com/image.jpg" />'; |
||
28 | |||
29 | $spreadsheet = new Spreadsheet(); |
||
30 | $spreadsheet->getActiveSheet()->getCell('A1')->setValue($value); |
||
31 | |||
32 | $reloadedSpreadsheet = $this->writeAndReload($spreadsheet, $format); |
||
33 | |||
34 | $actual = $reloadedSpreadsheet->getActiveSheet()->getCell('A1')->getCalculatedValue(); |
||
35 | self::assertSame($value, $actual, 'should be able to write and read strings with multiples quotes'); |
||
36 | } |
||
38 |