mirror of
https://github.com/octoleo/hosts.git
synced 2024-12-29 12:32:44 +00:00
Fix copy/paste typos in help.bats.
This commit is contained in:
parent
8faa7a0ab6
commit
810e407c9e
@ -23,17 +23,17 @@ export _HELP_HEADER
|
||||
[[ $(IFS=$'\n'; echo "${lines[*]:0:5}") == "$_HELP_HEADER" ]]
|
||||
}
|
||||
|
||||
@test "\`notes -h\` prints default help." {
|
||||
@test "\`hosts -h\` prints default help." {
|
||||
run "$_HOSTS" -h
|
||||
[[ $(IFS=$'\n'; echo "${lines[*]:0:5}") == "$_HELP_HEADER" ]]
|
||||
}
|
||||
|
||||
@test "\`notes --help\` prints default help." {
|
||||
@test "\`hosts --help\` prints default help." {
|
||||
run "$_HOSTS" --help
|
||||
[[ $(IFS=$'\n'; echo "${lines[*]:0:5}") == "$_HELP_HEADER" ]]
|
||||
}
|
||||
|
||||
@test "\`notes help help\` prints \`help\` subcommand usage." {
|
||||
@test "\`hosts help help\` prints \`help\` subcommand usage." {
|
||||
run "$_HOSTS" help help
|
||||
_expected="$(
|
||||
cat <<HEREDOC
|
||||
|
Loading…
Reference in New Issue
Block a user