From daab8b2fd03340ea0be91281673c256b02ad8a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 21 Jul 2020 13:11:02 +0300 Subject: Remove insta dep --- crates/ra_hir_ty/Cargo.toml | 1 - crates/ra_hir_ty/src/tests.rs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'crates') 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" } chalk-recursive = { version = "0.18.0" } [dev-dependencies] -insta = "0.16.0" expect = { path = "../expect" } 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::{ }; // These tests compare the inference results for all expressions in a file -// against snapshots of the expected results using insta. Use cargo-insta to -// update the snapshots. +// against snapshots of the expected results using expect. Use +// `env UPDATE_EXPECT=1 cargo test -p ra_hir_ty` to update the snapshots. fn setup_tracing() -> tracing::subscriber::DefaultGuard { use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry}; -- cgit v1.2.3