Remove comment and incorrect assert

This commit is contained in:
Mikhail Rakhmanov 2020-06-12 13:14:53 +02:00
parent d38bf1624d
commit 42a719ad25

View file

@ -130,7 +130,7 @@ mod tests {
let mut returned_keywords = Vec::<(String, String)>::new();
for item in completion_items {
debug_assert!(item.text_edit().len() == 1);
assert!(item.text_edit().len() == 1);
assert!(item.kind() == Some(CompletionItemKind::Keyword));
let atom = item.text_edit().iter().next().unwrap().clone();
assert!(atom.delete.start() == position.offset);
@ -165,12 +165,6 @@ mod tests {
]
"###
);
// assert_completion_keyword(
// r"
// use <|>
// ",
// &[("crate", "crate::"), ("self", "self"), ("super", "super::")],
// );
}
#[test]