helix-mirror/helix-term/tests/integration.rs

26 lines
529 B
Rust
Raw Normal View History

#[cfg(feature = "integration")]
mod test {
2022-04-17 06:05:45 +04:00
mod helpers;
use helix_core::{syntax::AutoPairConfig, Selection};
use helix_term::config::Config;
2021-10-26 13:03:03 +04:00
use indoc::indoc;
2021-10-26 13:03:03 +04:00
2022-04-17 06:05:45 +04:00
use self::helpers::*;
#[tokio::test(flavor = "multi_thread")]
async fn hello_world() -> anyhow::Result<()> {
2022-05-22 21:29:52 +04:00
test(("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#")).await?;
Ok(())
2021-10-26 13:03:03 +04:00
}
2022-04-17 08:19:22 +04:00
mod auto_indent;
mod auto_pairs;
2022-05-01 04:44:54 +04:00
mod commands;
mod languages;
2022-04-17 08:19:22 +04:00
mod movement;
mod prompt;
2022-08-24 09:13:41 +04:00
mod splits;
2021-10-26 13:03:03 +04:00
}