public function CellTest::testColumnIndexFromStringTooLong in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/CellTest.php \CellTest::testColumnIndexFromStringTooLong()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ CellTest.php, line 33
Class
Code
public function testColumnIndexFromStringTooLong() {
$cellAddress = 'ABCD';
try {
$result = call_user_func(array(
'PHPExcel_Cell',
'columnIndexFromString',
), $cellAddress);
} catch (PHPExcel_Exception $e) {
$this
->assertEquals($e
->getMessage(), 'Column string index can not be longer than 3 characters');
return;
}
$this
->fail('An expected exception has not been raised.');
}