aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlyssa Ross2016-11-17 16:16:31 +0000
committerAlyssa Ross2016-12-27 17:34:46 +0000
commit0a20edf9454423537a7f4d3b3659ad56f0151775 (patch)
tree51caaa56c3bc9a07c636ec1e579e19d444b3e950 /Library
parent8f85eb64c4875fed514150dec755cb267a96df74 (diff)
downloadbrew-0a20edf9454423537a7f4d3b3659ad56f0151775.tar.bz2
tests: don't run LinkTests twice
see #1526
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/keg_test.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/test/keg_test.rb b/Library/Homebrew/test/keg_test.rb
index 2c91027e5..b875c7205 100644
--- a/Library/Homebrew/test/keg_test.rb
+++ b/Library/Homebrew/test/keg_test.rb
@@ -2,7 +2,7 @@ require "testing_env"
require "keg"
require "stringio"
-class LinkTests < Homebrew::TestCase
+class LinkTestCase < Homebrew::TestCase
include FileUtils
def setup_test_keg(name, version)
@@ -44,7 +44,9 @@ class LinkTests < Homebrew::TestCase
rmtree HOMEBREW_PREFIX/"bin"
rmtree HOMEBREW_PREFIX/"lib"
end
+end
+class LinkTests < LinkTestCase
def test_empty_installation
%w[.DS_Store INSTALL_RECEIPT.json LICENSE.txt].each do |file|
touch @keg/file
@@ -315,7 +317,7 @@ class LinkTests < Homebrew::TestCase
end
end
-class InstalledDependantsTests < LinkTests
+class InstalledDependantsTests < LinkTestCase
def stub_formula_name(name)
f = formula(name) { url "foo-1.0" }
stub_formula_loader f