mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Add missing test for label
This commit is contained in:
parent
da0c719575
commit
4ca5d4c353
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ pub fn foo(mut r: WriteHandler<()>) {
|
||||||
"#,
|
"#,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
assert_eq!(info.label(), "fn finished(&mut self, ctx: &mut Self::Context)".to_string());
|
||||||
assert_eq!(info.parameters(), ["&mut self", "ctx: &mut Self::Context"]);
|
assert_eq!(info.parameters(), ["&mut self", "ctx: &mut Self::Context"]);
|
||||||
assert_eq!(info.active_parameter, Some(1));
|
assert_eq!(info.active_parameter, Some(1));
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
|
|
Loading…
Reference in a new issue