mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Fix missing method in test
This commit is contained in:
parent
44a4de8218
commit
0f4cd893bd
@ -813,7 +813,7 @@ class MagicMethodAnnotationTest extends TestCase
|
||||
|
||||
$error_message = 'UndefinedMagicMethod';
|
||||
$this->expectException(\Psalm\Exception\CodeException::class);
|
||||
$this->expectExceptionMessageMatches('/\b' . \preg_quote($error_message, '/') . '\b/');
|
||||
$this->expectExceptionMessage($error_message);
|
||||
$this->analyzeFile('somefile.php', new Context());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user