diff options
| author | Xu Cheng | 2015-07-21 15:02:15 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-07-21 15:02:15 +0800 |
| commit | 1ead0d4fe556cd7a671ea2f66f72354f4a40fc8c (patch) | |
| tree | 611fc87d283d45c9f25932c96bfec77c8fc8b5e7 /Library/Homebrew | |
| parent | 44a8ebdc7e3714f6f12dd1016ebf752d4a0b270c (diff) | |
| download | brew-1ead0d4fe556cd7a671ea2f66f72354f4a40fc8c.tar.bz2 | |
tests: use ARGV.include? instead of ARGV.flag?
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/tests.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tests.rb b/Library/Homebrew/cmd/tests.rb index a686a7f8c..62182aebe 100644 --- a/Library/Homebrew/cmd/tests.rb +++ b/Library/Homebrew/cmd/tests.rb @@ -2,7 +2,7 @@ module Homebrew def tests (HOMEBREW_LIBRARY/"Homebrew/test").cd do ENV["TESTOPTS"] = "-v" if ARGV.verbose? - ENV["HOMEBREW_TESTS_COVERAGE"] = "1" if ARGV.flag? "--coverage" + ENV["HOMEBREW_TESTS_COVERAGE"] = "1" if ARGV.include? "--coverage" Homebrew.install_gem_setup_path! "bundler" quiet_system("bundle", "check") || \ system("bundle", "install", "--path", "vendor/bundle") |
