Skip to content

Commit fc3e1cd

Browse files
committed
Note on updating snapshot tests
info adapted from immunant/c2rust#1266 (review)
1 parent 86e2a0d commit fc3e1cd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ either from `git pull` or `bisect`, the support projects should be kept in sync
5959
- Disable the Black formatter extension, if you already have it, as it will produce style mismatches.
6060
- Depending on what parts of the codebase are being analyzed, `rust-analyzer` may need access to Tenjin's LLVM library directory. From Tenjin's root directory, invoke `10j exec code .` (see below regarding `10j exec`).
6161

62-
###
62+
### Update snapshot tests
63+
64+
- Either:
65+
- `10j test-unit-rs` then `(cd c2rust ; 10j cargo insta review)`, or
66+
- `INSTA_UPDATE=always 10j test-unit-rs` then review the `*.rs` diffs
6367

6468
## CLI Notes
6569

0 commit comments

Comments
 (0)