aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorXu Cheng2015-08-22 13:15:33 +0800
committerXu Cheng2015-08-22 13:15:33 +0800
commita88c40b8c888064f6514cf0646ea2140e2578d57 (patch)
tree73a31c1fd0b6984ccc8ea43fdfa242ad53c8cea8 /Library/Homebrew/test
parent3d1f9e0a9c6185b470630c29e44714ac2d050371 (diff)
downloadbrew-a88c40b8c888064f6514cf0646ea2140e2578d57.tar.bz2
core file style update
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_formula_installer_bottle.rb2
-rw-r--r--Library/Homebrew/test/test_migrator.rb2
-rw-r--r--Library/Homebrew/test/test_utils.rb1
3 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formula_installer_bottle.rb b/Library/Homebrew/test/test_formula_installer_bottle.rb
index 4d2d1676f..61ed78b19 100644
--- a/Library/Homebrew/test/test_formula_installer_bottle.rb
+++ b/Library/Homebrew/test/test_formula_installer_bottle.rb
@@ -70,7 +70,7 @@ class InstallBottleTests < Homebrew::TestCase
installer = FormulaInstaller.new(formula)
assert_raises(BuildToolsError) do
- installer.install
+ installer.install
end
refute_predicate formula, :installed?
diff --git a/Library/Homebrew/test/test_migrator.rb b/Library/Homebrew/test/test_migrator.rb
index 236c7e00d..e85483a95 100644
--- a/Library/Homebrew/test/test_migrator.rb
+++ b/Library/Homebrew/test/test_migrator.rb
@@ -5,7 +5,7 @@ require "tab"
require "keg"
class Formula
- def set_oldname oldname
+ def set_oldname(oldname)
@oldname = oldname
end
end
diff --git a/Library/Homebrew/test/test_utils.rb b/Library/Homebrew/test/test_utils.rb
index 9dc283084..915e17e70 100644
--- a/Library/Homebrew/test/test_utils.rb
+++ b/Library/Homebrew/test/test_utils.rb
@@ -2,7 +2,6 @@ require "testing_env"
require "tempfile"
class UtilTests < Homebrew::TestCase
-
def setup
@dir = Pathname.new(mktmpdir)
end