aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/completions/attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_completion/src/completions/attribute.rs')
-rw-r--r--crates/ide_completion/src/completions/attribute.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/ide_completion/src/completions/attribute.rs b/crates/ide_completion/src/completions/attribute.rs
index 3866c5917..f3b11e72d 100644
--- a/crates/ide_completion/src/completions/attribute.rs
+++ b/crates/ide_completion/src/completions/attribute.rs
@@ -322,7 +322,7 @@ mod tests {
322 322
323 use expect_test::{expect, Expect}; 323 use expect_test::{expect, Expect};
324 324
325 use crate::{tests::filtered_completion_list, CompletionKind}; 325 use crate::tests::completion_list;
326 326
327 #[test] 327 #[test]
328 fn attributes_are_sorted() { 328 fn attributes_are_sorted() {
@@ -341,7 +341,7 @@ mod tests {
341 } 341 }
342 342
343 fn check(ra_fixture: &str, expect: Expect) { 343 fn check(ra_fixture: &str, expect: Expect) {
344 let actual = filtered_completion_list(ra_fixture, CompletionKind::Attribute); 344 let actual = completion_list(ra_fixture);
345 expect.assert_eq(&actual); 345 expect.assert_eq(&actual);
346 } 346 }
347 347
@@ -786,6 +786,7 @@ mod tests {
786 at target_feature = "…" 786 at target_feature = "…"
787 at test 787 at test
788 at track_caller 788 at track_caller
789 kw return
789 "#]], 790 "#]],
790 ); 791 );
791 } 792 }
@@ -801,6 +802,7 @@ mod tests {
801 at deny(…) 802 at deny(…)
802 at forbid(…) 803 at forbid(…)
803 at warn(…) 804 at warn(…)
805 kw return
804 "#]], 806 "#]],
805 ); 807 );
806 } 808 }