summaryrefslogtreecommitdiff
path: root/cli/lsp/testing
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/testing')
-rw-r--r--cli/lsp/testing/collectors.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/lsp/testing/collectors.rs b/cli/lsp/testing/collectors.rs
index 572c03726..33ad3a7ab 100644
--- a/cli/lsp/testing/collectors.rs
+++ b/cli/lsp/testing/collectors.rs
@@ -163,8 +163,7 @@ fn check_call_expr(
ast::Expr::Tpl(tpl) => {
if tpl.quasis.len() == 1 {
if let Some(tpl_element) = tpl.quasis.get(0) {
- maybe_name =
- Some(tpl_element.raw.value.to_string());
+ maybe_name = Some(tpl_element.raw.to_string());
}
}
}