mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +00:00
a26272b44b
* Delete unused documentation code+test * Fix up test to account for new select behavior
16 lines
343 B
Rust
16 lines
343 B
Rust
use nu_test_support::{nu, pipeline};
|
|
|
|
#[test]
|
|
fn help_commands_length() {
|
|
let actual = nu!(
|
|
cwd: ".", pipeline(
|
|
r#"
|
|
help commands | length
|
|
"#
|
|
));
|
|
|
|
let output = actual.out;
|
|
let output_int: i32 = output.parse().unwrap();
|
|
let is_positive = output_int.is_positive();
|
|
assert!(is_positive);
|
|
}
|