PhpSpreadsheet/tests/PhpSpreadsheetTests/Reader/HTMLTest.php

21 lines
472 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';
$this->assertFalse($this->getInstance()->canRead($filename));
}
private function getInstance()
{
return new HTML();
}
}