feat: enable excluding refs search results in test

This commit is contained in:
Young-Flash 2024-01-28 18:28:13 +08:00
parent d410d4a2ba
commit 6f303f49fe
8 changed files with 60 additions and 3 deletions

View file

@ -519,6 +519,7 @@ mod tests {
ReferenceCategory::Read => "read",
ReferenceCategory::Write => "write",
ReferenceCategory::Import => "import",
ReferenceCategory::Test => "test",
}
.to_string()
}),

View file

@ -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
"#]],
);
}