Skip to content

Commit

Permalink
Make tests line-ending agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Walrus committed Jul 3, 2022
1 parent fffcfbc commit 61a8291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-term/tests/test/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ async fn test_selection_duplication() -> anyhow::Result<()> {
test((
"#[\n|]#",
"ilorem<ret>ipsum<ret>dolor<esc>ggvlCC",
"#(lo|)#rem\n#(ip|)#sum\n#[do|]#lor\n",
platform_line("#(lo|)#rem\n#(ip|)#sum\n#[do|]#lor\n").as_str(),
))
.await?;
// Backward
test((
"#[\n|]#",
"ilorem<ret>ipsum<ret>dolor<esc>gglbCC",
"#(|lo)#rem\n#(|ip)#sum\n#[|do]#lor\n",
platform_line("#(|lo)#rem\n#(|ip)#sum\n#[|do]#lor\n").as_str(),
))
.await?;
Ok(())
Expand Down

0 comments on commit 61a8291

Please # to comment.