mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Switch to expect_test from crates.io
This commit is contained in:
parent
66e0c9f840
commit
b0fd3faf36
45 changed files with 54 additions and 54 deletions
|
@ -57,7 +57,7 @@ proc_macro_srv = { path = "../proc_macro_srv" }
|
|||
winapi = "0.3.8"
|
||||
|
||||
[dev-dependencies]
|
||||
expect = { path = "../expect" }
|
||||
expect-test = "0.1"
|
||||
test_utils = { path = "../test_utils" }
|
||||
mbe = { path = "../mbe" }
|
||||
tt = { path = "../tt" }
|
||||
|
|
|
@ -256,7 +256,7 @@ pub(crate) fn map_rust_diagnostic_to_lsp(
|
|||
mod tests {
|
||||
use super::*;
|
||||
|
||||
use expect::{expect_file, ExpectFile};
|
||||
use expect_test::{expect_file, ExpectFile};
|
||||
|
||||
fn check(diagnostics_json: &str, expect: ExpectFile) {
|
||||
check_with_config(DiagnosticsMapConfig::default(), diagnostics_json, expect)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue