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