nu-command 0.90.1

Nushell's built-in commands
Documentation
1
2
3
4
5
6
7
8
9
10
use nu_test_support::nu;

#[test]
fn rolls_4_roll() {
    let actual = nu!(r#"
        random dice --dice 4 --sides 10 | length
        "#);

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