aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-03 16:03:46 +0000
committerAleksey Kladov <[email protected]>2020-03-03 16:03:46 +0000
commitcf0ececb7aa93d5538a7688d825201327335132e (patch)
tree605a9e4e9b3f9bde6f3b8229f7a01c4fb7735748 /crates/ra_ide
parent1cca6b2a3d4e1981577616d854bca498f4891289 (diff)
Highlight assist tests
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs2
1 files changed, 1 insertions, 1 deletions
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(
320 let call_info = call_info_for_token(&sema, expanded)?; 320 let call_info = call_info_for_token(&sema, expanded)?;
321 let idx = call_info.active_parameter?; 321 let idx = call_info.active_parameter?;
322 let name = call_info.signature.parameter_names.get(idx)?; 322 let name = call_info.signature.parameter_names.get(idx)?;
323 if name != "ra_fixture" { 323 if !name.starts_with("ra_fixture") {
324 return None; 324 return None;
325 } 325 }
326 let value = literal.value()?; 326 let value = literal.value()?;