PhpSpreadsheet/tests/PhpSpreadsheetTests/Reader/HTMLTest.php

17 lines
414 B
PHP
Raw Normal View History

2016-10-23 19:18:59 +00:00
<?php
namespace PhpOffice\PhpSpreadsheetTests\Reader;
use PhpOffice\PhpSpreadsheet\Reader\Html;
use PHPUnit_Framework_TestCase;
2016-10-23 19:18:59 +00:00
class HTMLTest extends PHPUnit_Framework_TestCase
2016-10-23 19:18:59 +00:00
{
public function testCsvWithAngleBracket()
{
$filename = __DIR__ . '/../../data/Reader/HTML/csv_with_angle_bracket.csv';
2017-08-02 21:13:08 +00:00
$reader = new Html();
$this->assertFalse($reader->canRead($filename));
2016-10-23 19:18:59 +00:00
}
}