diff options
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_path.rs')
-rw-r--r-- | crates/ra_ide_api/src/completion/complete_path.rs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs index 804954ee1..6bed299d2 100644 --- a/crates/ra_ide_api/src/completion/complete_path.rs +++ b/crates/ra_ide_api/src/completion/complete_path.rs | |||
@@ -121,30 +121,4 @@ mod tests { | |||
121 | ", | 121 | ", |
122 | ); | 122 | ); |
123 | } | 123 | } |
124 | |||
125 | #[test] | ||
126 | fn dont_render_function_parens_in_use_item() { | ||
127 | check_reference_completion( | ||
128 | "dont_render_function_parens_in_use_item", | ||
129 | " | ||
130 | //- /lib.rs | ||
131 | mod m { pub fn foo() {} } | ||
132 | use crate::m::f<|>; | ||
133 | ", | ||
134 | ) | ||
135 | } | ||
136 | |||
137 | #[test] | ||
138 | fn dont_render_function_parens_if_already_call() { | ||
139 | check_reference_completion( | ||
140 | "dont_render_function_parens_if_already_call", | ||
141 | " | ||
142 | //- /lib.rs | ||
143 | fn frobnicate() {} | ||
144 | fn main() { | ||
145 | frob<|>(); | ||
146 | } | ||
147 | ", | ||
148 | ) | ||
149 | } | ||
150 | } | 124 | } |