fix tests

i will never write test like this again, it's horrible
This commit is contained in:
nora 2021-12-30 13:39:34 +01:00
parent e26e849b56
commit b3fde273d6
3 changed files with 186 additions and 89 deletions

View file

@ -0,0 +1,33 @@
---
source: src/parse/test.rs
assertion_line: 47
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: Or,
},
)