aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/movement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/movement.rs')
-rw-r--r--helix-core/src/movement.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/helix-core/src/movement.rs b/helix-core/src/movement.rs
index e695bf94..f60b3c83 100644
--- a/helix-core/src/movement.rs
+++ b/helix-core/src/movement.rs
@@ -1293,7 +1293,7 @@ mod test {
let selection =
selection.transform(|r| move_prev_paragraph(text.slice(..), r, 1, Movement::Move));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
@@ -1316,7 +1316,7 @@ mod test {
let selection =
selection.transform(|r| move_prev_paragraph(text.slice(..), r, 2, Movement::Move));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
@@ -1339,7 +1339,7 @@ mod test {
let selection = selection
.transform(|r| move_prev_paragraph(text.slice(..), r, 1, Movement::Extend));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
@@ -1381,7 +1381,7 @@ mod test {
let selection =
selection.transform(|r| move_next_paragraph(text.slice(..), r, 1, Movement::Move));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
@@ -1404,7 +1404,7 @@ mod test {
let selection =
selection.transform(|r| move_next_paragraph(text.slice(..), r, 2, Movement::Move));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
@@ -1427,7 +1427,7 @@ mod test {
let selection = selection
.transform(|r| move_next_paragraph(text.slice(..), r, 1, Movement::Extend));
let actual = crate::test::plain(&s, selection);
- assert_eq!(actual, expected, "\nbefore: `{before:?}`");
+ assert_eq!(actual, expected, "\nbefore: `{:?}`", before);
}
}
}