diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/bash_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/bash_test.rb b/Library/Homebrew/test/bash_test.rb index ff418c787..671ab5ec8 100644 --- a/Library/Homebrew/test/bash_test.rb +++ b/Library/Homebrew/test/bash_test.rb @@ -2,6 +2,7 @@ require "testing_env" class BashTests < Homebrew::TestCase def assert_valid_bash_syntax(file) + return unless file.exist? output = Utils.popen_read("/bin/bash -n #{file} 2>&1") assert $?.success?, output end |
