X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Ftest%2FPsy%2FTest%2FException%2FFatalErrorExceptionTest.php;fp=vendor%2Fpsy%2Fpsysh%2Ftest%2FPsy%2FTest%2FException%2FFatalErrorExceptionTest.php;h=0000000000000000000000000000000000000000;hp=9ff66b9545ee7a76d3dd2234080fc4c92585eb39;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/psy/psysh/test/Psy/Test/Exception/FatalErrorExceptionTest.php b/vendor/psy/psysh/test/Psy/Test/Exception/FatalErrorExceptionTest.php deleted file mode 100644 index 9ff66b954..000000000 --- a/vendor/psy/psysh/test/Psy/Test/Exception/FatalErrorExceptionTest.php +++ /dev/null @@ -1,46 +0,0 @@ -assertTrue($e instanceof Exception); - $this->assertTrue($e instanceof \ErrorException); - $this->assertTrue($e instanceof FatalErrorException); - } - - public function testMessage() - { - $e = new FatalErrorException('{msg}', 0, 0, '{filename}', 13); - - $this->assertEquals('{msg}', $e->getRawMessage()); - $this->assertContains('{msg}', $e->getMessage()); - $this->assertContains('{filename}', $e->getMessage()); - $this->assertContains('line 13', $e->getMessage()); - } - - public function testMessageWithNoFilename() - { - $e = new FatalErrorException('{msg}'); - - $this->assertEquals('{msg}', $e->getRawMessage()); - $this->assertContains('{msg}', $e->getMessage()); - $this->assertContains('eval()\'d code', $e->getMessage()); - } -}