We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79d59fd commit 644fd8aCopy full SHA for 644fd8a
1 file changed
tests/PHPRocks/ErrorHandlerTest.php
@@ -66,8 +66,8 @@ public function testUndoErrorHandler(){
66
67
public function testFatalError()
68
{
69
- $error = 'PHPRocks trapped: Allowed memory size of 262144 bytes exhausted (tried to allocate 256 bytes)';
70
- $this->assertSame($error, shell_exec('php tests/fixtures/fatal-error.php'));
+ $error = 'PHPRocks trapped: Allowed memory size of 262144 bytes exhausted (tried to allocate ';
+ $this->assertContains($error, shell_exec('php tests/fixtures/fatal-error.php'));
71
}
72
73
public function testUndoFatalError()
0 commit comments