mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-16 02:15:01 +01:00
fix tests
i will never write test like this again, it's horrible
This commit is contained in:
parent
e26e849b56
commit
b3fde273d6
3 changed files with 186 additions and 89 deletions
33
src/parse/snapshots/dilaria__parse__test__or.snap
Normal file
33
src/parse/snapshots/dilaria__parse__test__or.snap
Normal 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,
|
||||
},
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue