Fix comment tests

This commit is contained in:
Jeff 2023-09-30 15:13:38 -04:00
parent 0140193421
commit 89e89f3433

View File

@ -2,17 +2,17 @@
Full Line Comments Full Line Comments
================== ==================
not_a_comment
# comment # comment
#comment
# also a comment!
--- ---
(root (root
(item (item
(comment)) (statement
(item (open_statement
(comment)) (expression
(identifier)))))
(item (item
(comment))) (comment)))
@ -20,24 +20,15 @@ Full Line Comments
Partial Line Comments Partial Line Comments
================== ==================
# comment # 1; not_a_comment # comment
#comment# "one"
--- ---
(source (root
(item
(comment))
(item
(statement
(closed_statement
(value
(integer)))))
(item
(comment))
(item (item
(statement (statement
(open_statement (open_statement
(value (expression
(string)))))) (identifier)))))
(item
(comment)))