1
0
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:
Olle 2020-06-15 21:51:00 +00:00
parent 44a4de8218
commit 0f4cd893bd

View File

@ -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());
}