diff options
| author | Mike McQuaid | 2017-06-10 20:12:55 +0300 | 
|---|---|---|
| committer | Mike McQuaid | 2017-06-12 09:11:42 +0100 | 
| commit | 021cef4b2bfebe330fa55e9dcc904a08932bad94 (patch) | |
| tree | 835ed01ef034c83d219d8a5c34ed10b1d47f882f /Library/Homebrew/formula_assertions.rb | |
| parent | c21abf0e3ab89e0218a26905fe44725e19cbf675 (diff) | |
| download | brew-021cef4b2bfebe330fa55e9dcc904a08932bad94.tar.bz2 | |
Autocorrect Rubocop Style/SpecialGlobalVars.
Diffstat (limited to 'Library/Homebrew/formula_assertions.rb')
| -rw-r--r-- | Library/Homebrew/formula_assertions.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Homebrew/formula_assertions.rb b/Library/Homebrew/formula_assertions.rb index 477782e53..047b40abc 100644 --- a/Library/Homebrew/formula_assertions.rb +++ b/Library/Homebrew/formula_assertions.rb @@ -27,7 +27,7 @@ module Homebrew      def shell_output(cmd, result = 0)        ohai cmd        output = `#{cmd}` -      assert_equal result, $?.exitstatus +      assert_equal result, $CHILD_STATUS.exitstatus        output      end @@ -40,7 +40,7 @@ module Homebrew          pipe.close_write          pipe.read        end -      assert_equal result, $?.exitstatus unless result.nil? +      assert_equal result, $CHILD_STATUS.exitstatus unless result.nil?        output      end    end | 
