Skip to content

Commit

Permalink
Make tests multi-threaded or they fail
Browse files Browse the repository at this point in the history
  • Loading branch information
EpocSquadron committed Nov 28, 2022
1 parent 98aac58 commit 21f14a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helix-term/tests/test/movement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async fn insert_to_normal_mode_cursor_position() -> anyhow::Result<()> {
Ok(())
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn surround_by_character() -> anyhow::Result<()> {
// Only pairs matching the passed character count
test((
Expand Down Expand Up @@ -109,7 +109,7 @@ async fn surround_by_character() -> anyhow::Result<()> {
Ok(())
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn surround_inside_pair() -> anyhow::Result<()> {
// Works at first character of buffer
// TODO: Adjust test when opening pair failure is fixed
Expand Down Expand Up @@ -237,7 +237,7 @@ async fn surround_inside_pair() -> anyhow::Result<()> {
Ok(())
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn surround_around_pair() -> anyhow::Result<()> {
// Works at first character of buffer
// TODO: Adjust test when opening pair failure is fixed
Expand Down

0 comments on commit 21f14a9

Please sign in to comment.