From bc650a4f0d3689cab306a66f2a874aea1cdc7c24 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Tue, 21 Jul 2015 21:02:26 +0800 Subject: [PATCH] test_formula_installer: remove ScriptFileFormula test It's deprecated and breaks `brew tests` in no-compat mode. --- .../Homebrew/test/test_formula_installer.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Library/Homebrew/test/test_formula_installer.rb b/Library/Homebrew/test/test_formula_installer.rb index f9ac3fa179..a76ef66df2 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