aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r--helix-core/src/syntax.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index bb0073e1..72b0e956 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -1996,7 +1996,9 @@ mod test {
assert_eq!(
matches[0].byte_range(),
range,
- "@{capture} expected {range:?}"
+ "@{} expected {:?}",
+ capture,
+ range
)
};