Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/test/Exception/ThrowUpExceptionTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
38 $this->assertSame($previous, $e->getPrevious()); | 38 $this->assertSame($previous, $e->getPrevious()); |
39 } | 39 } |
40 | 40 |
41 public function testFromThrowableWithError() | 41 public function testFromThrowableWithError() |
42 { | 42 { |
43 if (version_compare(PHP_VERSION, '7.0.0', '<')) { | 43 if (\version_compare(PHP_VERSION, '7.0.0', '<')) { |
44 $this->markTestSkipped(); | 44 $this->markTestSkipped(); |
45 } | 45 } |
46 | 46 |
47 $previous = new \Error('{{message}}'); | 47 $previous = new \Error('{{message}}'); |
48 $e = ThrowUpException::fromThrowable($previous); | 48 $e = ThrowUpException::fromThrowable($previous); |