From a9a77671f2405e0cb65160c17268beec5114e259 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 17 Jun 2021 15:32:34 +0200 Subject: Move item specific completion tests --- crates/ide_completion/src/completions/keyword.rs | 32 ------------------------ 1 file changed, 32 deletions(-) (limited to 'crates/ide_completion/src/completions/keyword.rs') diff --git a/crates/ide_completion/src/completions/keyword.rs b/crates/ide_completion/src/completions/keyword.rs index af67f9315..c5cd3c2f7 100644 --- a/crates/ide_completion/src/completions/keyword.rs +++ b/crates/ide_completion/src/completions/keyword.rs @@ -387,22 +387,6 @@ fn quux() -> i32 { ); } - #[test] - fn test_where_keyword() { - check( - r"trait A $0", - expect![[r#" - kw where - "#]], - ); - check( - r"impl A $0", - expect![[r#" - kw where - "#]], - ); - } - #[test] fn no_keyword_completion_in_comments() { cov_mark::check!(no_keyword_completion_in_comments); @@ -479,22 +463,6 @@ fn foo() { ) } - #[test] - fn before_field() { - check( - r#" -struct Foo { - $0 - pub f: i32, -} -"#, - expect![[r#" - kw pub(crate) - kw pub - "#]], - ) - } - #[test] fn skip_struct_initializer() { cov_mark::check!(no_keyword_completion_in_record_lit); -- cgit v1.2.3