helix-mods/helix-term/tests/test/prompt.rs
2022-10-18 22:31:39 -04:00

16 lines
324 B
Rust

use super::*;
#[tokio::test]
async fn test_history_completion() -> anyhow::Result<()> {
test_key_sequence(
&mut AppBuilder::new().build()?,
Some(":asdf<ret>:theme d<C-n><tab>"),
Some(&|app| {
assert!(!app.editor.is_err());
}),
false,
)
.await?;
Ok(())
}