nushell/crates/nu-command/tests/commands/export_def.rs
2025-05-13 16:49:30 +02:00

13 lines
236 B
Rust

use nu_test_support::nu;
#[test]
fn export_subcommands_help() {
let actual = nu!("export def -h");
assert!(
actual
.out
.contains("Define a custom command and export it from a module")
);
}