mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +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");
|
|
}
|