diff options
| author | Alyssa Ross | 2016-11-17 16:16:31 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2016-12-27 17:34:46 +0000 |
| commit | 0a20edf9454423537a7f4d3b3659ad56f0151775 (patch) | |
| tree | 51caaa56c3bc9a07c636ec1e579e19d444b3e950 /Library | |
| parent | 8f85eb64c4875fed514150dec755cb267a96df74 (diff) | |
| download | brew-0a20edf9454423537a7f4d3b3659ad56f0151775.tar.bz2 | |
tests: don't run LinkTests twice
see #1526
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/keg_test.rb | 6 |
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 |
