diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-10-29 19:26:39 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-10-29 19:26:39 +0000 |
commit | 542bc18223fdef60c942d0d6ca0dd9be9de2cd91 (patch) | |
tree | 334300ba14bc7a43b8a0cfe29f91157b3616e23d /crates | |
parent | da0c71957547835fdbbc6595f55d5c070556c64c (diff) | |
parent | 4ca5d4c353dc83ce758b286c0d1c6a44fd51fd81 (diff) |
Merge #2119
2119: Add missing test for label r=kjeremy a=kjeremy
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates')
-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!( |