Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / psy / psysh / test / Exception / ParseErrorExceptionTest.php
similarity index 79%
rename from vendor/psy/psysh/test/Psy/Test/Exception/ParseErrorExceptionTest.php
rename to vendor/psy/psysh/test/Exception/ParseErrorExceptionTest.php
index 9fa9750dacca916c1f459b7dcd5f22f2c66cf4f2..446b9389c4dd8097b921f9f0f3d24017971a0499 100644 (file)
@@ -3,7 +3,7 @@
 /*
  * This file is part of Psy Shell.
  *
- * (c) 2012-2017 Justin Hileman
+ * (c) 2012-2018 Justin Hileman
  *
  * For the full copyright and license information, please view the LICENSE
  * file that was distributed with this source code.
@@ -11,7 +11,6 @@
 
 namespace Psy\Test\Exception;
 
-use Psy\Exception\Exception;
 use Psy\Exception\ParseErrorException;
 
 class ParseErrorExceptionTest extends \PHPUnit\Framework\TestCase
@@ -20,9 +19,9 @@ class ParseErrorExceptionTest extends \PHPUnit\Framework\TestCase
     {
         $e = new ParseErrorException();
 
-        $this->assertTrue($e instanceof Exception);
-        $this->assertTrue($e instanceof \PhpParser\Error);
-        $this->assertTrue($e instanceof ParseErrorException);
+        $this->assertInstanceOf('Psy\Exception\Exception', $e);
+        $this->assertInstanceOf('PhpParser\Error', $e);
+        $this->assertInstanceOf('Psy\Exception\ParseErrorException', $e);
     }
 
     public function testMessage()