From 0533aebe1e1fabc99753a5b48f07da703e4e0fa1 Mon Sep 17 00:00:00 2001 From: Andrew Janke Date: Sun, 24 Jan 2016 18:12:21 -0500 Subject: [PATCH] stash-cli: audit fix --- Formula/stash-cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/stash-cli.rb b/Formula/stash-cli.rb index 0f8e53bd59..d66a78f994 100644 --- a/Formula/stash-cli.rb +++ b/Formula/stash-cli.rb @@ -26,7 +26,7 @@ class StashCli < Formula test do Dir.glob(bin/"*") do |f| cmd = File.basename(f, ".sh") - assert shell_output(bin/"#{cmd} --help 2>&1 | head").include?("Usage:") unless cmd == "atlassian" + assert_match "Usage:", shell_output(bin/"#{cmd} --help 2>&1 | head") unless cmd == "atlassian" end end end