1 2 3 4 5 6 7 8 9 10 11 12
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") ); }