Skip to content

Commit

Permalink
Update the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mango0x45 committed Sep 14, 2024
1 parent 11b47b4 commit cf97e10
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 65 deletions.
44 changes: 26 additions & 18 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 22 additions & 20 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 24 additions & 21 deletions src/parser.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions test/corpus/document.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ html lang="en" {
name: (ident)
attrs: (attr_list
(id_attr
(ident)))
name: (ident)))
body: (node_body
(text)))
(node
name: (ident)
attrs: (attr_list
(class_attr
(ident)))
name: (ident)))
body: (node_body
(text)))
(comment
Expand All @@ -130,11 +130,11 @@ html lang="en" {
name: (ident)
attrs: (attr_list
(id_attr
(ident))
name: (ident))
(class_attr
(ident))
name: (ident))
(class_attr
(ident))
name: (ident))
(attr
name: (ident)
value: (string))
Expand All @@ -151,6 +151,6 @@ html lang="en" {
name: (ident)
attrs: (attr_list
(id_attr
(ident)))
name: (ident)))
body: (node_body
(text)))))))))))

0 comments on commit cf97e10

Please sign in to comment.