mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 17:09:06 +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");
|
|
}
|