diff options
author | Laurențiu Nicola <[email protected]> | 2020-07-21 11:11:02 +0100 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2020-07-21 11:11:51 +0100 |
commit | daab8b2fd03340ea0be91281673c256b02ad8a90 (patch) | |
tree | dae0469fcd4a29b480dd2332b58f9941c96a59a5 /crates | |
parent | f7e4b99d154fa85e4f37aa9e53d4ffb8f4a0073e (diff) |
Remove insta dep
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir_ty/Cargo.toml | 1 | ||||
-rw-r--r-- | crates/ra_hir_ty/src/tests.rs | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/crates/ra_hir_ty/Cargo.toml b/crates/ra_hir_ty/Cargo.toml index 548a3fc1f..cdabb359f 100644 --- a/crates/ra_hir_ty/Cargo.toml +++ b/crates/ra_hir_ty/Cargo.toml | |||
@@ -33,7 +33,6 @@ chalk-ir = { version = "0.18.0" } | |||
33 | chalk-recursive = { version = "0.18.0" } | 33 | chalk-recursive = { version = "0.18.0" } |
34 | 34 | ||
35 | [dev-dependencies] | 35 | [dev-dependencies] |
36 | insta = "0.16.0" | ||
37 | expect = { path = "../expect" } | 36 | expect = { path = "../expect" } |
38 | 37 | ||
39 | tracing = "0.1" | 38 | tracing = "0.1" |
diff --git a/crates/ra_hir_ty/src/tests.rs b/crates/ra_hir_ty/src/tests.rs index 59a21092e..45bc14c37 100644 --- a/crates/ra_hir_ty/src/tests.rs +++ b/crates/ra_hir_ty/src/tests.rs | |||
@@ -34,8 +34,8 @@ use crate::{ | |||
34 | }; | 34 | }; |
35 | 35 | ||
36 | // These tests compare the inference results for all expressions in a file | 36 | // 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 | 37 | // against snapshots of the expected results using expect. Use |
38 | // update the snapshots. | 38 | // `env UPDATE_EXPECT=1 cargo test -p ra_hir_ty` to update the snapshots. |
39 | 39 | ||
40 | fn setup_tracing() -> tracing::subscriber::DefaultGuard { | 40 | fn setup_tracing() -> tracing::subscriber::DefaultGuard { |
41 | use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry}; | 41 | use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry}; |