1
0
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:
William Melody 2016-01-25 17:21:20 -08:00
parent 8faa7a0ab6
commit 810e407c9e

View File

@ -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