aboutsummaryrefslogtreecommitdiff
path: root/helix-term/tests/test/prompt.rs
blob: 4f3bf76329dcea6dba48228057c5e6cc5706076e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

#[tokio::test(flavor = "multi_thread")]
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(())
}