Skip to content

Commit 9307c7f

Browse files
bors[bot]lnicola
andauthored
Merge #5472
5472: Replace insta with expect r=matklad a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 9518e2f + daab8b2 commit 9307c7f

File tree

10 files changed

+5369
-5457
lines changed

10 files changed

+5369
-5457
lines changed

Cargo.lock

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

crates/ra_hir_ty/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ chalk-ir = { version = "0.18.0" }
3333
chalk-recursive = { version = "0.18.0" }
3434

3535
[dev-dependencies]
36-
insta = "0.16.0"
3736
expect = { path = "../expect" }
3837

3938
tracing = "0.1"

crates/ra_hir_ty/src/tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ use crate::{
3434
};
3535

3636
// These tests compare the inference results for all expressions in a file
37-
// against snapshots of the expected results using insta. Use cargo-insta to
38-
// update the snapshots.
37+
// against snapshots of the expected results using expect. Use
38+
// `env UPDATE_EXPECT=1 cargo test -p ra_hir_ty` to update the snapshots.
3939

4040
fn setup_tracing() -> tracing::subscriber::DefaultGuard {
4141
use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry};

0 commit comments

Comments
 (0)