Add parser tests for dbg

This commit is contained in:
Richard Feldman 2022-11-22 21:27:10 -05:00
parent 49f8768271
commit 73a591743b
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
4 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,4 @@
dbg
1 == 1
4

View file

@ -0,0 +1,36 @@
BinOps(
[
(
@0-5 Apply(
@0-3 Var {
module_name: "",
ident: "dbg",
},
[
@4-5 Num(
"1",
),
],
Space,
),
@6-8 Equals,
),
],
@9-13 Apply(
@9-10 Num(
"1",
),
[
@12-13 SpaceBefore(
Num(
"4",
),
[
Newline,
Newline,
],
),
],
Space,
),
)

View file

@ -0,0 +1,3 @@
dbg 1 == 1
4

View file

@ -168,6 +168,7 @@ mod test_parse {
pass/equals.expr,
pass/expect_fx.module,
pass/multiline_tuple_with_comments.expr,
pass/dbg.expr,
pass/expect.expr,
pass/float_with_underscores.expr,
pass/full_app_header_trailing_commas.header,