aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_x11_deps.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_x11_deps.rb b/Library/Homebrew/test/test_x11_deps.rb
index 433a2a1ab..0d5e3978b 100644
--- a/Library/Homebrew/test/test_x11_deps.rb
+++ b/Library/Homebrew/test/test_x11_deps.rb
@@ -46,6 +46,13 @@ class X11DependencyTests < Test::Unit::TestCase
assert !x.eql?(p)
assert !p.eql?(x)
end
+
+ def test_x_env
+ x = X11Dependency.new
+ x.stubs(:satisfied?).returns(true)
+ ENV.expects(:x11)
+ x.modify_build_environment
+ end
end
class X11DepCollectionTests < Test::Unit::TestCase