From 8ec4b84013f807357b89aad3883bc8398e41eab4 Mon Sep 17 00:00:00 2001 From: kjeremy Date: Mon, 4 Feb 2019 14:11:51 -0500 Subject: Bump insta and proptest to latest --- crates/ra_hir/Cargo.toml | 2 +- crates/ra_ide_api/Cargo.toml | 2 +- crates/ra_ide_api_light/Cargo.toml | 4 ++-- crates/ra_text_edit/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'crates') diff --git a/crates/ra_hir/Cargo.toml b/crates/ra_hir/Cargo.toml index 4309a05d6..b47ce7952 100644 --- a/crates/ra_hir/Cargo.toml +++ b/crates/ra_hir/Cargo.toml @@ -22,4 +22,4 @@ test_utils = { path = "../test_utils" } [dev-dependencies] flexi_logger = "0.10.0" -insta = "0.5.1" +insta = "0.6.1" diff --git a/crates/ra_ide_api/Cargo.toml b/crates/ra_ide_api/Cargo.toml index 908899129..54de9b2e3 100644 --- a/crates/ra_ide_api/Cargo.toml +++ b/crates/ra_ide_api/Cargo.toml @@ -26,7 +26,7 @@ hir = { path = "../ra_hir", package = "ra_hir" } test_utils = { path = "../test_utils" } [dev-dependencies] -insta = "0.5.1" +insta = "0.6.1" [features] jemalloc = [ "jemallocator", "jemalloc-ctl" ] diff --git a/crates/ra_ide_api_light/Cargo.toml b/crates/ra_ide_api_light/Cargo.toml index 922245390..c1e4314ce 100644 --- a/crates/ra_ide_api_light/Cargo.toml +++ b/crates/ra_ide_api_light/Cargo.toml @@ -16,5 +16,5 @@ ra_text_edit = { path = "../ra_text_edit" } [dev-dependencies] test_utils = { path = "../test_utils" } -proptest = "0.8.7" -insta = "0.5.1" +proptest = "0.9.0" +insta = "0.6.1" diff --git a/crates/ra_text_edit/Cargo.toml b/crates/ra_text_edit/Cargo.toml index 71f6ce1ad..7f30251d4 100644 --- a/crates/ra_text_edit/Cargo.toml +++ b/crates/ra_text_edit/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] text_unit = "0.1.6" -proptest = "0.8.7" +proptest = "0.9.0" [dev-dependencies] test_utils = { path = "../test_utils" } -- cgit v1.2.3 From c73cc0ab8fbd02027712844584e56a04dc41fcd7 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Tue, 5 Feb 2019 07:15:15 -0500 Subject: Remove unused imports --- crates/ra_ide_api_light/src/line_index.rs | 2 +- crates/ra_ide_api_light/src/line_index_utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/ra_ide_api_light/src/line_index.rs b/crates/ra_ide_api_light/src/line_index.rs index 898fee7e0..131737743 100644 --- a/crates/ra_ide_api_light/src/line_index.rs +++ b/crates/ra_ide_api_light/src/line_index.rs @@ -154,7 +154,7 @@ pub fn to_line_col(text: &str, offset: TextUnit) -> LineCol { #[cfg(test)] mod test_line_index { use super::*; - use proptest::{prelude::*, proptest, proptest_helper}; + use proptest::{prelude::*, proptest}; use ra_text_edit::test_utils::{arb_text, arb_offset}; #[test] diff --git a/crates/ra_ide_api_light/src/line_index_utils.rs b/crates/ra_ide_api_light/src/line_index_utils.rs index ec3269bbb..5d9ab6fd2 100644 --- a/crates/ra_ide_api_light/src/line_index_utils.rs +++ b/crates/ra_ide_api_light/src/line_index_utils.rs @@ -320,7 +320,7 @@ pub fn translate_offset_with_edit( #[cfg(test)] mod test { use super::*; - use proptest::{prelude::*, proptest, proptest_helper}; + use proptest::{prelude::*, proptest}; use crate::line_index; use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit}; use ra_text_edit::TextEdit; -- cgit v1.2.3