mirror of
https://github.com/nushell/nushell.git
synced 2025-04-25 05:38:20 +02:00
15 lines
314 B
Plaintext
15 lines
314 B
Plaintext
use std/assert
|
|
use std/help
|
|
|
|
#[test]
|
|
def show_help_on_commands [] {
|
|
let help_result = (help alias)
|
|
assert ("item not found" not-in $help_result)
|
|
}
|
|
|
|
#[test]
|
|
def show_help_on_error_make [] {
|
|
let help_result = (help error make)
|
|
assert ("Error: nu::shell::eval_block_with_input" not-in $help_result)
|
|
}
|