aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_bash.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_bash.rb b/Library/Homebrew/test/test_bash.rb
index b77927e0b..7c312f62a 100644
--- a/Library/Homebrew/test/test_bash.rb
+++ b/Library/Homebrew/test/test_bash.rb
@@ -11,6 +11,10 @@ class BashTests < Homebrew::TestCase
end
def test_bash_cmds
- assert_valid_bash_syntax "#{HOMEBREW_LIBRARY_PATH}/cmd/*.sh"
+ %w[cmd dev-cmd].each do |dir|
+ Dir["#{HOMEBREW_LIBRARY_PATH}/#{dir}/*.sh"].each do |cmd|
+ assert_valid_bash_syntax cmd
+ end
+ end
end
end