aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
diff options
context:
space:
mode:
authorMichael Davis2022-04-08 15:56:50 +0000
committerGitHub2022-04-08 15:56:50 +0000
commit19ff21eaa27141807ee206230d1e6e9f071b8180 (patch)
treed5ba077e8bbf2892a4a24312ba2ea302942106e5 /helix-core/src/syntax.rs
parent61d1684a329e933261fbb3863f7cffbda89292ac (diff)
Remove usage of format ident feature from tests (#2028)
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
)
};