mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
switch to cargo-insta for snapshot testing
This commit is contained in:
parent
d20fbb8e37
commit
07039da23d
23 changed files with 42991 additions and 22877 deletions
21
tests/snapshots/tests__small.dem_minimal.snap
Normal file
21
tests/snapshots/tests__small.dem_minimal.snap
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
source: tests/tests.rs
|
||||
expression: state
|
||||
---
|
||||
{
|
||||
"chat": [],
|
||||
"users": {
|
||||
"2": {
|
||||
"classes": {},
|
||||
"name": "Icewind | demos.tf",
|
||||
"userId": 2,
|
||||
"steamId": "[U:1:64229260]",
|
||||
"team": "other"
|
||||
}
|
||||
},
|
||||
"deaths": [],
|
||||
"rounds": [],
|
||||
"startTick": 68,
|
||||
"intervalPerTick": 0.015,
|
||||
"pauses": []
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue