mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 06:27:28 +02:00
Merge branch '2.x' into to_be_uuid
This commit is contained in:
@ -951,7 +951,7 @@ final class Expectation
|
||||
}
|
||||
|
||||
if (! class_exists($exception)) {
|
||||
if ($e instanceof Error && $e->getMessage() === "Class \"$exception\" not found") {
|
||||
if ($e instanceof Error && "Class \"$exception\" not found" === $e->getMessage()) {
|
||||
Assert::assertTrue(true);
|
||||
|
||||
throw $e;
|
||||
|
||||
Reference in New Issue
Block a user