public function CellTest::testCoordinateFromStringWithEmptyAddress in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/CellTest.php \CellTest::testCoordinateFromStringWithEmptyAddress()
File
- vendor/
phpoffice/ phpexcel/ unitTests/ Classes/ PHPExcel/ CellTest.php, line 101
Class
Code
public function testCoordinateFromStringWithEmptyAddress() {
$cellAddress = '';
try {
$result = call_user_func(array(
'PHPExcel_Cell',
'coordinateFromString',
), $cellAddress);
} catch (PHPExcel_Exception $e) {
$this
->assertEquals($e
->getMessage(), 'Cell coordinate can not be zero-length string');
return;
}
$this
->fail('An expected exception has not been raised.');
}