Skip to content

Commit f1f89ca

Browse files
authored
Update attributes test output (nikic#188)
Now that php-src is providing ASTs with the expected indexes. Fixes nikic#187
1 parent e0eeaec commit f1f89ca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/attributes_02.phpt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,13 @@ AST_STMT_LIST
175175
name: "Attr5"
176176
args: AST_ARG_LIST
177177
__declId: 0
178-
attributes: null
178+
attributes: AST_ATTRIBUTE_LIST
179+
0: AST_ATTRIBUTE_GROUP
180+
0: AST_ATTRIBUTE
181+
class: AST_NAME
182+
flags: NAME_FQ (%d)
183+
name: "SomeAttribute"
184+
args: AST_ARG_LIST
179185
__declId: 1
180186
2: AST_FUNC_DECL
181187
flags: 0

0 commit comments

Comments
 (0)