diff options
| author | Jack Nagel | 2014-06-12 17:58:12 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-12 17:58:12 -0500 |
| commit | 8c2db70cf8f9aedc524b336b7216f5f95d147dcc (patch) | |
| tree | 2c9a484951e4a3a87e24c5ffa1d48f98454a8eb5 | |
| parent | 59981c5b4c0017b6d269ce01593e1ef4ea10bff1 (diff) | |
| download | brew-8c2db70cf8f9aedc524b336b7216f5f95d147dcc.tar.bz2 | |
Always pass a path to formula constructor in tests
| -rw-r--r-- | Library/Homebrew/test/test_formula.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index e6caf52ee..80980173c 100644 --- a/Library/Homebrew/test/test_formula.rb +++ b/Library/Homebrew/test/test_formula.rb @@ -169,8 +169,8 @@ class FormulaTests < Test::Unit::TestCase bottle { sha1 TEST_SHA1 => bottle_tag } - def initialize(name="test", path=nil) - super + def initialize + super "test", Pathname.new(__FILE__) end end.new |
