aboutsummaryrefslogtreecommitdiff
path: root/helix-term/tests/integration/auto_pairs.rs
diff options
context:
space:
mode:
authorSkyler Hawthorne2022-04-19 05:21:31 +0000
committerSkyler Hawthorne2022-06-19 03:54:03 +0000
commitee705dcb3363aeb197f6125ab2f8285782333010 (patch)
treee045ef2a2c062f0e4df11ff50788b0e0b161e37a /helix-term/tests/integration/auto_pairs.rs
parent36e5809f638028644d8a51e1ed2467ea402de170 (diff)
use main application event loop
Use the Application's main event loop to allow LSP, file writes, etc
Diffstat (limited to 'helix-term/tests/integration/auto_pairs.rs')
-rw-r--r--helix-term/tests/integration/auto_pairs.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/helix-term/tests/integration/auto_pairs.rs b/helix-term/tests/integration/auto_pairs.rs
index 4da44d45..52fee55e 100644
--- a/helix-term/tests/integration/auto_pairs.rs
+++ b/helix-term/tests/integration/auto_pairs.rs
@@ -6,7 +6,8 @@ async fn auto_pairs_basic() -> anyhow::Result<()> {
Args::default(),
Config::default(),
("#[\n|]#", "i(<esc>", "(#[|)]#\n"),
- )?;
+ )
+ .await?;
test_key_sequence_text_result(
Args::default(),
@@ -18,7 +19,8 @@ async fn auto_pairs_basic() -> anyhow::Result<()> {
..Default::default()
},
("#[\n|]#", "i(<esc>", "(#[|\n]#"),
- )?;
+ )
+ .await?;
Ok(())
}