mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-26 11:23:31 +04:00
28 lines
553 B
Rust
28 lines
553 B
Rust
#[cfg(feature = "integration")]
|
|
mod test {
|
|
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(("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#")).await?;
|
|
Ok(())
|
|
}
|
|
|
|
mod auto_indent;
|
|
mod auto_pairs;
|
|
mod commands;
|
|
mod movement;
|
|
mod prompt;
|
|
mod splits;
|
|
mod write;
|
|
}
|