aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-23 00:26:40 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-23 00:26:40 +0200
commit7800b4de9bfe4ab9146d91fd93982c6d21b735e6 (patch)
tree3dc3c2f59b3ca2c16bec2635fd06a883f9c8a779 /test
parent425bb2ef451f887a1377ab72293a06e57c9475db (diff)
Fix test
Diffstat (limited to 'test')
-rw-r--r--test/corpus/document.txt44
1 files changed, 28 insertions, 16 deletions
diff --git a/test/corpus/document.txt b/test/corpus/document.txt
index 61f7699..0f9a45f 100644
--- a/test/corpus/document.txt
+++ b/test/corpus/document.txt
@@ -97,7 +97,8 @@ html lang="en" {
(node
name: (ident)
body: (node_body
- (text)))))
+ (text
+ (raw_text))))))
(node
name: (ident)
body: (node_body
@@ -107,25 +108,29 @@ html lang="en" {
(id_attr
name: (ident)))
body: (node_body
- (text)))
+ (text
+ (raw_text))))
(node
name: (ident)
attrs: (attr_list
(class_attr
name: (ident)))
body: (node_body
- (text)))
+ (text
+ (raw_text))))
(comment
name: (ident)
body: (node_body
(node
name: (ident)
body: (node_body
- (text)))
+ (text
+ (raw_text))))
(node
name: (ident)
body: (node_body
- (text)))))
+ (text
+ (raw_text))))))
(node
name: (ident)
attrs: (attr_list
@@ -143,14 +148,21 @@ html lang="en" {
value: (string)))
body: (node_body
(text
- (node
- name: (ident)
- body: (node_body
- (text)))
- (node
- name: (ident)
- attrs: (attr_list
- (id_attr
- name: (ident)))
- body: (node_body
- (text)))))))))))
+ (raw_text)
+ (inline_node
+ (node
+ name: (ident)
+ body: (node_body
+ (text
+ (raw_text)))))
+ (raw_text)
+ (inline_node
+ (node
+ name: (ident)
+ attrs: (attr_list
+ (id_attr
+ name: (ident)))
+ body: (node_body
+ (text
+ (raw_text)))))
+ (raw_text)))))))))