test: align import conflict diagnostic

master
韩天峰 2 hours ago
parent 9b02dcd693
commit 91f5daf457
  1. 3
      phpunit/src/Python/PythonModuleTest.php

@ -3,7 +3,6 @@
namespace TypePhp\Tests\Python;
use PHPUnit\Framework\TestCase;
use PhpParser\Error;
use TypePhp\CompilerTest;
use TypePhp\Exception\TestError;
@ -123,7 +122,7 @@ final class PythonModuleTest extends TestCase
public function testModuleAliasUsesPhpCaseInsensitiveConflictRules(): void
{
$this->expectException(Error::class);
$this->expectException(TestError::class);
$this->expectExceptionMessage('the name is already in use');
$this->compileFixture('alias-conflict.php');

Loading…
Cancel
Save