nu-command 0.27.1

CLI for nushell
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use nu_test_support::{nu, pipeline};

#[test]
fn rolls_4_roll() {
    let actual = nu!(
        cwd: ".", pipeline(
        r#"
        random dice -d 4 -s 10 | count
        "#
    ));

    assert_eq!(actual.out, "4");
}