linera-io/linera-protocol

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

Open

#1761 opened on Mar 6, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (32,149 stars) (2,354 forks)batch import
good first issuetesting

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