fix std help (#12943)

# Description
Fixes: #12941

~~The issue is cause by some columns(is_builtin, is_plugin, is_custom,
is_keyword) are removed in #10023~~
Edit: I'm wrong

# Tests + Formatting
Added one test for `std help`
This commit is contained in:
Wind
2024-05-23 21:51:02 +08:00
committed by GitHub
parent 2612a167e3
commit f53aa6fcbf
2 changed files with 14 additions and 5 deletions

View File

@ -0,0 +1,9 @@
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)
}