mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
32 lines
646 B
Rust
32 lines
646 B
Rust
#[cfg(feature = "integration")]
|
|
mod integration {
|
|
mod helpers;
|
|
|
|
use std::path::PathBuf;
|
|
|
|
use helix_core::{syntax::AutoPairConfig, Position, Selection};
|
|
use helix_term::{args::Args, config::Config};
|
|
|
|
use indoc::indoc;
|
|
|
|
use self::helpers::*;
|
|
|
|
#[tokio::test]
|
|
async fn hello_world() -> anyhow::Result<()> {
|
|
test_key_sequence_text_result(
|
|
Args::default(),
|
|
Config::default(),
|
|
("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#"),
|
|
)
|
|
.await?;
|
|
|
|
Ok(())
|
|
}
|
|
|
|
mod auto_indent;
|
|
mod auto_pairs;
|
|
mod commands;
|
|
mod movement;
|
|
mod write;
|
|
}
|