2022-01-18 01:04:40 +01:00
|
|
|
#[cfg(feature = "integration")]
|
2022-04-30 15:22:20 +02:00
|
|
|
mod test {
|
2022-04-17 04:05:45 +02:00
|
|
|
mod helpers;
|
|
|
|
|
2022-11-11 05:58:03 +01:00
|
|
|
use helix_core::{syntax::AutoPairConfig, Selection};
|
|
|
|
use helix_term::config::Config;
|
2021-10-26 11:03:03 +02:00
|
|
|
|
2022-01-18 01:04:40 +01:00
|
|
|
use indoc::indoc;
|
2021-10-26 11:03:03 +02:00
|
|
|
|
2022-04-17 04:05:45 +02:00
|
|
|
use self::helpers::*;
|
2022-01-18 01:04:40 +01:00
|
|
|
|
2022-10-21 06:28:29 +02:00
|
|
|
#[tokio::test(flavor = "multi_thread")]
|
2022-01-18 01:04:40 +01:00
|
|
|
async fn hello_world() -> anyhow::Result<()> {
|
2022-05-22 19:29:52 +02:00
|
|
|
test(("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#")).await?;
|
2022-01-18 01:04:40 +01:00
|
|
|
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;
|
2023-04-14 17:00:15 +02:00
|
|
|
mod languages;
|
2022-04-17 06:19:22 +02:00
|
|
|
mod movement;
|
2022-08-31 18:26:21 +02:00
|
|
|
mod prompt;
|
2022-08-24 07:13:41 +02:00
|
|
|
mod splits;
|
2021-10-26 11:03:03 +02:00
|
|
|
}
|