diff options
author | kjeremy <[email protected]> | 2019-10-29 19:25:31 +0000 |
---|---|---|
committer | kjeremy <[email protected]> | 2019-10-29 19:25:31 +0000 |
commit | 4ca5d4c353dc83ce758b286c0d1c6a44fd51fd81 (patch) | |
tree | 334300ba14bc7a43b8a0cfe29f91157b3616e23d | |
parent | da0c71957547835fdbbc6595f55d5c070556c64c (diff) |
Add missing test for label
-rw-r--r-- | crates/ra_ide_api/src/call_info.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/call_info.rs b/crates/ra_ide_api/src/call_info.rs index 729f4c2ff..175af3fd9 100644 --- a/crates/ra_ide_api/src/call_info.rs +++ b/crates/ra_ide_api/src/call_info.rs | |||
@@ -448,6 +448,7 @@ pub fn foo(mut r: WriteHandler<()>) { | |||
448 | "#, | 448 | "#, |
449 | ); | 449 | ); |
450 | 450 | ||
451 | assert_eq!(info.label(), "fn finished(&mut self, ctx: &mut Self::Context)".to_string()); | ||
451 | assert_eq!(info.parameters(), ["&mut self", "ctx: &mut Self::Context"]); | 452 | assert_eq!(info.parameters(), ["&mut self", "ctx: &mut Self::Context"]); |
452 | assert_eq!(info.active_parameter, Some(1)); | 453 | assert_eq!(info.active_parameter, Some(1)); |
453 | assert_eq!( | 454 | assert_eq!( |