mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 11:53:30 +04:00
19 lines
394 B
Rust
19 lines
394 B
Rust
|
use super::*;
|
||
|
|
||
|
use helix_term::application::Application;
|
||
|
|
||
|
#[tokio::test]
|
||
|
async fn test_history_completion() -> anyhow::Result<()> {
|
||
|
test_key_sequence(
|
||
|
&mut Application::new(Args::default(), Config::default())?,
|
||
|
Some(":asdf<ret>:theme d<C-n><tab>"),
|
||
|
Some(&|app| {
|
||
|
assert!(!app.editor.is_err());
|
||
|
}),
|
||
|
false,
|
||
|
)
|
||
|
.await?;
|
||
|
|
||
|
Ok(())
|
||
|
}
|