mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 17:07:26 +00:00
Remove comment and incorrect assert
This commit is contained in:
parent
d38bf1624d
commit
42a719ad25
1 changed files with 1 additions and 7 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue