From 7800b4de9bfe4ab9146d91fd93982c6d21b735e6 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 23 Sep 2024 00:26:40 +0200 Subject: Fix test --- test/corpus/document.txt | 44 ++++++++++++++++++++++++++++---------------- 1 file 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))))))))) -- cgit v1.2.3