use cargo insta in parser

This commit is contained in:
nora 2021-12-29 20:24:27 +01:00
parent 9e643b8acd
commit ee01a9f5b5
64 changed files with 2212 additions and 423 deletions

View file

@ -0,0 +1,33 @@
---
source: src/parse/test.rs
assertion_line: 35
expression: ast
---
BinaryOp(
BinaryOp {
span: Span {
start: 0,
end: 0,
},
lhs: Literal(
Number(
10.0,
Span {
start: 0,
end: 0,
},
),
),
rhs: Literal(
Number(
4.0,
Span {
start: 0,
end: 0,
},
),
),
kind: Mod,
},
)