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