Skip to content

Commit

Permalink
also colapse current selection during test
Browse files Browse the repository at this point in the history
  • Loading branch information
savente93 committed Jun 9, 2024
1 parent 1a7b793 commit 374a4f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helix-term/tests/test/movement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ async fn bookmark() -> anyhow::Result<()> {
#(|Lorem)#
ipsum"
},
":register_mark<space>1<ret>casdf<esc>:goto_mark<space>1<ret>",
// 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_mark<space>1<ret>casdf<esc>ge:goto_mark<space>1<ret>",
indoc! {"\
#[|asdf]#
ipsum
Expand Down

0 comments on commit 374a4f8

Please sign in to comment.