diff --git a/src/test/php/lang/ast/unittest/emit/NamespacesTest.class.php b/src/test/php/lang/ast/unittest/emit/NamespacesTest.class.php index 7fe7dcc7..a4dc258f 100755 --- a/src/test/php/lang/ast/unittest/emit/NamespacesTest.class.php +++ b/src/test/php/lang/ast/unittest/emit/NamespacesTest.class.php @@ -7,7 +7,7 @@ class NamespacesTest extends EmittingTest { #[Test] public function without_namespace() { - Assert::null($this->declare('class %T { }')->package()); + Assert::false(strpos($this->declare('class %T { }')->name(), '.')); } #[Test]