From cf0ececb7aa93d5538a7688d825201327335132e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 3 Mar 2020 17:03:46 +0100 Subject: Highlight assist tests --- crates/ra_ide/src/syntax_highlighting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide/src') diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index 979a3f7a0..7e41db530 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs @@ -320,7 +320,7 @@ fn highlight_injection( let call_info = call_info_for_token(&sema, expanded)?; let idx = call_info.active_parameter?; let name = call_info.signature.parameter_names.get(idx)?; - if name != "ra_fixture" { + if !name.starts_with("ra_fixture") { return None; } let value = literal.value()?; -- cgit v1.2.3