From 7a1537e38eb5f4a1687f806dba81309801932614 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 10 Feb 2020 01:41:31 -0500 Subject: [PATCH] fix: correct tests --- plugins/ssh-keys/internal-functions | 2 +- tests/unit/30_buildpacks.bats | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/ssh-keys/internal-functions b/plugins/ssh-keys/internal-functions index 4d1c01249..0a9f01bd0 100755 --- a/plugins/ssh-keys/internal-functions +++ b/plugins/ssh-keys/internal-functions @@ -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 diff --git a/tests/unit/30_buildpacks.bats b/tests/unit/30_buildpacks.bats index ae955ac69..a57a8b7df 100644 --- a/tests/unit/30_buildpacks.bats +++ b/tests/unit/30_buildpacks.bats @@ -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" }