1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00

Cover fatal exception; improves #66

This commit is contained in:
J. King 2018-08-17 10:34:54 -04:00
parent edbfb12d17
commit b4b2b10db3

View file

@ -73,4 +73,10 @@ class TestException extends \JKingWeb\Arsse\Test\AbstractTest {
$this->assertException("uncoded");
throw new LangException("testThisExceptionMessageDoesNotExist");
}
/** @covers \JKingWeb\Arsse\ExceptionFatal */
public function testFatalException() {
$this->expectException('JKingWeb\Arsse\ExceptionFatal');
throw new \JKingWeb\Arsse\ExceptionFatal("");
}
}