From a1940d8c75bee8c319e7e7f19607bdc4b01c28d4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 13 Jun 2021 19:23:37 +0300 Subject: internal: check diagnostics in all files and not just the first one --- crates/ide/src/goto_definition.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ide/src/goto_definition.rs') diff --git a/crates/ide/src/goto_definition.rs b/crates/ide/src/goto_definition.rs index d29ee64a5..8dd643a0f 100644 --- a/crates/ide/src/goto_definition.rs +++ b/crates/ide/src/goto_definition.rs @@ -185,7 +185,7 @@ mod tests { extern crate std$0; //- /std/lib.rs crate:std // empty -//^ file +//^file "#, ) } @@ -198,7 +198,7 @@ extern crate std$0; extern crate std as abc$0; //- /std/lib.rs crate:std // empty -//^ file +//^file "#, ) } @@ -253,7 +253,7 @@ mod $0foo; //- /foo.rs // empty -//^ file +//^file "#, ); @@ -264,7 +264,7 @@ mod $0foo; //- /foo/mod.rs // empty -//^ file +//^file "#, ); } @@ -395,7 +395,7 @@ use foo as bar$0; //- /foo/lib.rs crate:foo // empty -//^ file +//^file "#, ); } @@ -1287,7 +1287,7 @@ fn main() { } //- /foo.txt // empty -//^ file +//^file "#, ); } -- cgit v1.2.3