diff options
| author | Jack Nagel | 2014-06-18 21:08:09 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-18 21:08:09 -0500 | 
| commit | ea203c2aaccc466fc782fa7f2b37cec6527b0cf5 (patch) | |
| tree | e55304abec6eb9f06a74714b9bbcfaa46354f250 /Library/Homebrew/test | |
| parent | 480e3ec855ae00ebad972a41b21f8a2a5f729c7d (diff) | |
| download | brew-ea203c2aaccc466fc782fa7f2b37cec6527b0cf5.tar.bz2 | |
Combine Homebrew module declarations in testing_env
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index 25478de92..7bc6630b0 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -43,10 +43,6 @@ MACOS_VERSION = ENV.fetch('MACOS_VERSION') { MACOS_FULL_VERSION[/10\.\d+/] }  ORIGINAL_PATHS = ENV['PATH'].split(File::PATH_SEPARATOR).map{ |p| Pathname.new(p).expand_path rescue nil }.compact.freeze -module Homebrew extend self -  include FileUtils -end -  # Test environment setup  %w{Library/Formula Library/ENV}.each do |d|    HOMEBREW_REPOSITORY.join(d).mkpath @@ -68,6 +64,8 @@ rescue LoadError  end  module Homebrew +  include FileUtils +    module VersionAssertions      def version v        Version.new(v)  | 
