comparison vendor/psy/psysh/test/Exception/FatalErrorExceptionTest.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 5fb285c0d0e3
children
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
40 40
41 $this->assertSame('{msg}', $e->getRawMessage()); 41 $this->assertSame('{msg}', $e->getRawMessage());
42 $this->assertContains('{msg}', $e->getMessage()); 42 $this->assertContains('{msg}', $e->getMessage());
43 $this->assertContains('eval()\'d code', $e->getMessage()); 43 $this->assertContains('eval()\'d code', $e->getMessage());
44 } 44 }
45
46 public function testNegativeOneLineNumberIgnored()
47 {
48 $e = new FatalErrorException('{msg}', 0, 1, null, -1);
49 $this->assertEquals(0, $e->getLine());
50 }
45 } 51 }