Skip to content

Commit d80fd50

Browse files
committed
test(codegen): replace integration test assertions with insta snapshots
22 integration tests now use insta::assert_snapshot! instead of assert!(contains(...)) chains, capturing complete generated Haskell output for easier review and updating via cargo insta review.
1 parent 1151514 commit d80fd50

25 files changed

Lines changed: 1003 additions & 220 deletions

Cargo.lock

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hsrs-codegen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ heck = { workspace = true }
1717
clap = { version = "4", features = ["derive"] }
1818

1919
[dev-dependencies]
20+
insta = "1"
2021
tempfile = "3"
2122

2223
[lints]

0 commit comments

Comments
 (0)