asking 0.0.2

Build async prompts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Tests the matching example `testing`.

use assert_cmd::cmd::Command;

#[test]
fn eof() -> eyre::Result<()> {
    let output = Command::cargo_bin("examples//testing")?
        // .write_stdin("\n1\n5")
        // .timeout(std::time::Duration::from_secs(1))
        .unwrap();

    let messages = std::str::from_utf8(&output.stdout)?;
    let expected = "";
    assert_eq!(messages, expected);

    Ok(())
}