insta
insta copied to clipboard
Pending snapshot in nested crate is double-counted
What happened?
We have a layout like:
prql-compiler
|- Cargo.toml
|- src
|- ...
|- prqlc
|- Cargo.toml
|- src
|- ...
When there's a single pending snapshot inside prqlc
:
- insta reports "2 pending snapshots"
- On
cargo insta review
, if the first is accepted or rejected, we get an "File not found" error when it attempts to find the file for the second time (#380) - If we skip, the only change between the two within
cargo insta review
is that the crate changes fromprqlc
toprql-compiler
Insta Version
1.30
rustc Version
1.68