mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
11 lines
177 B
Rust
11 lines
177 B
Rust
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");
|
|
}
|