aws-keychain: assert on test output.

Closes Homebrew/homebrew#49776.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Elliot Murphy 2016-03-14 13:08:54 -04:00 committed by Xu Cheng
parent 96f2272419
commit cd277a1e54

View file

@ -10,6 +10,6 @@ class AwsKeychain < Formula
test do
# It is not possible to create a new keychain without triggering a prompt.
shell_output("#{bin}/aws-keychain --help", 1)
assert_match /Store multiple AWS IAM access keys/, shell_output("#{bin}/aws-keychain --help", 1).strip
end
end