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

27 lines
537 B
Rust
Raw Normal View History

#[cfg(feature = "integration")]
mod test {
2022-04-17 04:05:45 +02:00
mod helpers;
use std::path::PathBuf;
2021-10-26 11:03:03 +02:00
2022-04-17 04:05:45 +02:00
use helix_core::{syntax::AutoPairConfig, Position, Selection};
use helix_term::{args::Args, config::Config};
2021-10-26 11:03:03 +02:00
use indoc::indoc;
2021-10-26 11:03:03 +02:00
2022-04-17 04:05:45 +02:00
use self::helpers::*;
#[tokio::test]
async fn hello_world() -> anyhow::Result<()> {
2022-05-22 19:29:52 +02:00
test(("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#")).await?;
Ok(())
2021-10-26 11:03:03 +02:00
}
2022-04-17 06:19:22 +02:00
mod auto_indent;
mod auto_pairs;
2022-05-01 02:44:54 +02:00
mod commands;
2022-04-17 06:19:22 +02:00
mod movement;
mod prompt;
mod write;
2021-10-26 11:03:03 +02:00
}