Improve snapshot testing (#5856)

* Improve snapshot testing

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* A snapshot a day keeps the bugs away! 📷🐛

* A snapshot a day keeps the bugs away! 📷🐛

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Nick Cameron
2025-03-20 11:06:27 +13:00
committed by GitHub
parent 4b6166dc4f
commit a7e09a89ef
551 changed files with 115788 additions and 275855 deletions

View File

@ -1,12 +1,12 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing import_export.kcl
---
{
"Ok": {
"body": [
{
"end": 32,
"end": 0,
"path": {
"type": "Kcl",
"filename": "export_1.kcl"
@ -16,14 +16,14 @@ description: Result of parsing import_export.kcl
"items": [
{
"alias": null,
"end": 12,
"end": 0,
"name": {
"end": 12,
"end": 0,
"name": "three",
"start": 7,
"start": 0,
"type": "Identifier"
},
"start": 7,
"start": 0,
"type": "ImportItem"
}
]
@ -33,7 +33,7 @@ description: Result of parsing import_export.kcl
"type": "ImportStatement"
}
],
"end": 33,
"end": 0,
"start": 0
}
}