mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
10 lines
177 B
Rust
10 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");
|
|
}
|