From cf97e10eae80d4be90a771dcec38ce6b3a119173 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 14 Sep 2024 22:41:18 +0200 Subject: Update the tests --- src/node-types.json | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'src/node-types.json') diff --git a/src/node-types.json b/src/node-types.json index 806fb1f..d255c74 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -51,16 +51,17 @@ { "type": "class_attr", "named": true, - "fields": {}, - "children": { - "multiple": false, - "required": true, - "types": [ - { - "type": "ident", - "named": true - } - ] + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "ident", + "named": true + } + ] + } } }, { @@ -121,16 +122,17 @@ { "type": "id_attr", "named": true, - "fields": {}, - "children": { - "multiple": false, - "required": true, - "types": [ - { - "type": "ident", - "named": true - } - ] + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "ident", + "named": true + } + ] + } } }, { -- cgit v1.2.3