From 8e530d861bec49f8a61b49a7573f273362f17351 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 9 Mar 2013 17:35:31 -0600 Subject: [PATCH] tests: allow setting MACOS_VERSION from the environment This makes it easy to test things that vary depending on this constant without editing testing_env.rb. --- Library/Homebrew/test/testing_env.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index 7206a71f06..66788801fa 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -28,7 +28,7 @@ HOMEBREW_CURL_ARGS = '-fsLA' HOMEBREW_VERSION = '0.9-test' MACOS = true -MACOS_VERSION = 10.6 +MACOS_VERSION = ENV.fetch('MACOS_VERSION', 10.6) MACOS_FULL_VERSION = '10.6.8' %w{Library/Formula Library/ENV}.each do |d|