mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Remove comment and incorrect assert
This commit is contained in:
parent
d38bf1624d
commit
42a719ad25
@ -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…
x
Reference in New Issue
Block a user