forked from Mirrors/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
613 B
Rust
30 lines
613 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]#"),
|
|
)?;
|
|
|
|
Ok(())
|
|
}
|
|
|
|
mod auto_indent;
|
|
mod auto_pairs;
|
|
mod movement;
|
|
mod write;
|
|
}
|