mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
feat: enable excluding refs search results in test
This commit is contained in:
parent
d410d4a2ba
commit
6f303f49fe
8 changed files with 60 additions and 3 deletions
|
@ -519,6 +519,7 @@ mod tests {
|
|||
ReferenceCategory::Read => "read",
|
||||
ReferenceCategory::Write => "write",
|
||||
ReferenceCategory::Import => "import",
|
||||
ReferenceCategory::Test => "test",
|
||||
}
|
||||
.to_string()
|
||||
}),
|
||||
|
|
|
@ -454,6 +454,7 @@ fn main() {
|
|||
"#]],
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_variant_tuple_before_paren() {
|
||||
check(
|
||||
|
@ -1435,7 +1436,7 @@ fn test$0() {
|
|||
expect![[r#"
|
||||
test Function FileId(0) 0..33 11..15
|
||||
|
||||
FileId(0) 24..28
|
||||
FileId(0) 24..28 Test
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue