fix: correct tests

This commit is contained in:
Jose Diaz-Gonzalez
2020-02-10 01:41:31 -05:00
parent e67b96780d
commit 7a1537e38e
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
cmd-list-ssh-keys() {
cmd-ssh-keys-list() {
declare desc="List ssh key hashes"
declare cmd="ssh-keys:list"
[[ "$1" == "$cmd" ]] && shift 1

View File

@@ -16,13 +16,13 @@ teardown() {
run /bin/bash -c "dokku buildpacks"
echo "output: $output"
echo "status: $status"
assert_output_contains "Manages buildpacks settings for an app"
assert_output_contains "Manage buildpacks settings for an app"
help_output="$output"
run /bin/bash -c "dokku buildpacks:help"
echo "output: $output"
echo "status: $status"
assert_output_contains "Manages buildpacks settings for an app"
assert_output_contains "Manage buildpacks settings for an app"
assert_output "$help_output"
}