Skip to content

Commit 42a719a

Browse files
committed
Remove comment and incorrect assert
1 parent d38bf16 commit 42a719a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

crates/ra_ide/src/completion/complete_keyword.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ mod tests {
130130
let mut returned_keywords = Vec::<(String, String)>::new();
131131

132132
for item in completion_items {
133-
debug_assert!(item.text_edit().len() == 1);
133+
assert!(item.text_edit().len() == 1);
134134
assert!(item.kind() == Some(CompletionItemKind::Keyword));
135135
let atom = item.text_edit().iter().next().unwrap().clone();
136136
assert!(atom.delete.start() == position.offset);
@@ -165,12 +165,6 @@ mod tests {
165165
]
166166
"###
167167
);
168-
// assert_completion_keyword(
169-
// r"
170-
// use <|>
171-
// ",
172-
// &[("crate", "crate::"), ("self", "self"), ("super", "super::")],
173-
// );
174168
}
175169

176170
#[test]

0 commit comments

Comments
 (0)