aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/textobject.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/textobject.rs')
-rw-r--r--helix-core/src/textobject.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-core/src/textobject.rs b/helix-core/src/textobject.rs
index 67bf40a6..e7bbfc43 100644
--- a/helix-core/src/textobject.rs
+++ b/helix-core/src/textobject.rs
@@ -381,7 +381,7 @@ mod test {
let selection = selection
.transform(|r| textobject_paragraph(text.slice(..), r, TextObject::Inside, 1));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
@@ -404,7 +404,7 @@ mod test {
let selection = selection
.transform(|r| textobject_paragraph(text.slice(..), r, TextObject::Inside, 2));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
@@ -435,7 +435,7 @@ mod test {
let selection = selection
.transform(|r| textobject_paragraph(text.slice(..), r, TextObject::Around, 1));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}