aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2019-10-29 19:25:31 +0000
committerkjeremy <[email protected]>2019-10-29 19:25:31 +0000
commit4ca5d4c353dc83ce758b286c0d1c6a44fd51fd81 (patch)
tree334300ba14bc7a43b8a0cfe29f91157b3616e23d /crates
parentda0c71957547835fdbbc6595f55d5c070556c64c (diff)
Add missing test for label
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide_api/src/call_info.rs1
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!(