linera-io/linera-protocol

Use `insta` for snapshot tests in `linera-witty-macros`

Closed

#1,761 opened on Mar 6, 2024

 (0 comments) (0 reactions) (0 assignees)Rust (2,354 forks)batch import
good first issuetesting

Repository metrics

Stars
 (32,149 stars)
PR merge metrics
 (Avg merge 2d 22h) (111 merged PRs in 30d)

Description

We currently have several snapshots embedded in the code of linera-witty-macros. insta is a tool for managing snapshots so that they don't clutter up the code and can be easily reviewed and regenerated that we are now using in linera-views-derive. It would be nice to use it for linera-witty-macros as well.

Contributor guide