From 016d578b0434a075bcb7ab8fbfa2add72388abb4 Mon Sep 17 00:00:00 2001 From: Sam Vente Date: Sun, 9 Jun 2024 21:11:14 +0200 Subject: [PATCH] also colapse current selection during test --- helix-term/tests/test/movement.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helix-term/tests/test/movement.rs b/helix-term/tests/test/movement.rs index 6ea29cb0e300..9892a5c5babb 100644 --- a/helix-term/tests/test/movement.rs +++ b/helix-term/tests/test/movement.rs @@ -81,7 +81,9 @@ async fn bookmark() -> anyhow::Result<()> { #(|Lorem)# ipsum" }, - ":register_mark1casdf:goto_mark1", + // make a mark, make changes to the doc, colapse selection by going to end of doc + // then resore mark and see the selection is still good + ":register_mark1casdfge:goto_mark1", indoc! {"\ #[|asdf]# ipsum