diff --git a/src/test/php/lang/ast/unittest/parse/AttributesTest.class.php b/src/test/php/lang/ast/unittest/parse/AttributesTest.class.php index 459c4c4..bab776d 100755 --- a/src/test/php/lang/ast/unittest/parse/AttributesTest.class.php +++ b/src/test/php/lang/ast/unittest/parse/AttributesTest.class.php @@ -23,6 +23,7 @@ private function type($source) { */ private function attributes() { yield ['#[Service]', ['Service' => []]]; + yield ['#[Test(version: 1)]', ['Test' => ['version' => new Literal('1', self::LINE)]]]; yield ['#[Service, Version(1)]', ['Service' => [], 'Version' => [new Literal('1', self::LINE)]]]; }