diff --git a/crates/libanalysis/Cargo.toml b/crates/libanalysis/Cargo.toml index fa859ff9437..6337bcf64f6 100644 --- a/crates/libanalysis/Cargo.toml +++ b/crates/libanalysis/Cargo.toml @@ -14,4 +14,4 @@ libsyntax2 = { path = "../libsyntax2" } libeditor = { path = "../libeditor" } [dev-dependencies] -assert_eq_text = { path = "../assert_eq_text" } +test_utils = { path = "../test_utils" } diff --git a/crates/libanalysis/tests/tests.rs b/crates/libanalysis/tests/tests.rs index 931ab418381..32abf915283 100644 --- a/crates/libanalysis/tests/tests.rs +++ b/crates/libanalysis/tests/tests.rs @@ -1,10 +1,10 @@ extern crate libanalysis; -extern crate assert_eq_text; +extern crate test_utils; use std::path::PathBuf; use libanalysis::{WorldState, FileId}; -use assert_eq_text::assert_eq_dbg; +use test_utils::assert_eq_dbg; #[test] diff --git a/crates/libeditor/Cargo.toml b/crates/libeditor/Cargo.toml index 55f41c2c574..26577220436 100644 --- a/crates/libeditor/Cargo.toml +++ b/crates/libeditor/Cargo.toml @@ -11,4 +11,4 @@ superslice = "0.1.0" libsyntax2 = { path = "../libsyntax2" } [dev-dependencies] -assert_eq_text = { path = "../assert_eq_text" } +test_utils = { path = "../test_utils" } diff --git a/crates/libeditor/tests/test.rs b/crates/libeditor/tests/test.rs index 7e5e75ec206..04c616ff4c7 100644 --- a/crates/libeditor/tests/test.rs +++ b/crates/libeditor/tests/test.rs @@ -1,9 +1,9 @@ extern crate libeditor; extern crate libsyntax2; #[macro_use] -extern crate assert_eq_text; +extern crate test_utils; -use assert_eq_text::{assert_eq_dbg}; +use test_utils::{assert_eq_dbg}; use libsyntax2::{File, TextUnit, TextRange}; use libeditor::{ ActionResult, diff --git a/crates/libsyntax2/Cargo.toml b/crates/libsyntax2/Cargo.toml index e8810046a83..918c027750c 100644 --- a/crates/libsyntax2/Cargo.toml +++ b/crates/libsyntax2/Cargo.toml @@ -13,5 +13,5 @@ parking_lot = "0.6.0" smol_str = "0.1.0" [dev-dependencies] -assert_eq_text = { path = "../assert_eq_text" } +test_utils = { path = "../test_utils" } walkdir = "2.2.0" diff --git a/crates/libsyntax2/tests/test/main.rs b/crates/libsyntax2/tests/test/main.rs index 18c711aeea6..cb8a52c982f 100644 --- a/crates/libsyntax2/tests/test/main.rs +++ b/crates/libsyntax2/tests/test/main.rs @@ -1,6 +1,6 @@ extern crate libsyntax2; #[macro_use] -extern crate assert_eq_text; +extern crate test_utils; extern crate walkdir; use std::{ diff --git a/crates/assert_eq_text/Cargo.toml b/crates/test_utils/Cargo.toml similarity index 85% rename from crates/assert_eq_text/Cargo.toml rename to crates/test_utils/Cargo.toml index e122bbbebc0..3d336a9b417 100644 --- a/crates/assert_eq_text/Cargo.toml +++ b/crates/test_utils/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "assert_eq_text" +name = "test_utils" version = "0.1.0" authors = ["Aleksey Kladov "] diff --git a/crates/assert_eq_text/src/lib.rs b/crates/test_utils/src/lib.rs similarity index 100% rename from crates/assert_eq_text/src/lib.rs rename to crates/test_utils/src/lib.rs