mirror of
https://github.com/nushell/nushell.git
synced 2024-12-13 02:31:32 +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");
|
|
}
|