Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/test/Exception/BreakExceptionTest.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 |
---|---|
28 $e = new BreakException('foo'); | 28 $e = new BreakException('foo'); |
29 | 29 |
30 $this->assertContains('foo', $e->getMessage()); | 30 $this->assertContains('foo', $e->getMessage()); |
31 $this->assertSame('foo', $e->getRawMessage()); | 31 $this->assertSame('foo', $e->getRawMessage()); |
32 } | 32 } |
33 | |
34 /** | |
35 * @expectedException \Psy\Exception\BreakException | |
36 * @expectedExceptionMessage Goodbye | |
37 */ | |
38 public function testExitShell() | |
39 { | |
40 BreakException::exitShell(); | |
41 } | |
33 } | 42 } |