aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorXu Cheng2015-07-21 21:02:26 +0800
committerXu Cheng2015-07-21 21:32:38 +0800
commitbc650a4f0d3689cab306a66f2a874aea1cdc7c24 (patch)
tree1a37078a0569dbb34247b0616432f1ddce8c199c /Library/Homebrew
parent1ead0d4fe556cd7a671ea2f66f72354f4a40fc8c (diff)
downloadbrew-bc650a4f0d3689cab306a66f2a874aea1cdc7c24.tar.bz2
test_formula_installer: remove ScriptFileFormula test
It's deprecated and breaks `brew tests` in no-compat mode.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/test_formula_installer.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/Library/Homebrew/test/test_formula_installer.rb b/Library/Homebrew/test/test_formula_installer.rb
index f9ac3fa17..a76ef66df 100644
--- a/Library/Homebrew/test/test_formula_installer.rb
+++ b/Library/Homebrew/test/test_formula_installer.rb
@@ -49,22 +49,4 @@ class InstallTests < Homebrew::TestCase
assert_equal 3, bin.children.length
end
end
-
- def test_script_install
- mktmpdir do |dir|
- name = "test_script_formula"
- path = Pathname.new(dir)+"#{name}.rb"
-
- path.write <<-EOS.undent
- class #{Formulary.class_s(name)} < ScriptFileFormula
- url "file://#{File.expand_path(__FILE__)}"
- version "1"
- end
- EOS
-
- f = Formulary.factory(path.to_s)
-
- temporary_install(f) { assert_equal 1, f.bin.children.length }
- end
- end
end