mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03:00
tests: Override __fish_print_help
This effectively disables "--help", replacing it with just a stand-in string. The upshot is that it makes the test suite immune to whether or not it can find the documentation - until now it needed to *not* find it, which is weird. (also it saves some useless lines) Fixes #11270
This commit is contained in:
@@ -241,9 +241,7 @@ echo 7 $status # no passthrough
|
||||
#CHECK: 7 4
|
||||
false
|
||||
set -h >/dev/null
|
||||
# CHECKERR: fish: set: missing man page
|
||||
# CHECKERR: Documentation may not be installed.
|
||||
# CHECKERR: `help set` will show an online version
|
||||
# CHECKERR: Documentation for set
|
||||
|
||||
echo 8 $status # no passthrough
|
||||
#CHECK: 8 0
|
||||
|
||||
Reference in New Issue
Block a user