aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-04-25 15:12:13 -0500
committerJack Nagel2014-04-25 18:36:31 -0500
commitb40a3413e342a700d5f5c31d153ea8613e99f5f7 (patch)
tree614bfb0f44ba6da4a932422633e27887d02cb8eb /Library/Homebrew/test
parenta0494441d3be30229f5d9082244afc0e54f363d7 (diff)
downloadbrew-b40a3413e342a700d5f5c31d153ea8613e99f5f7.tar.bz2
Pass around only absolute paths when dealing with taps
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_updater.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_updater.rb b/Library/Homebrew/test/test_updater.rb
index 4b974e33f..a7e4f3b46 100644
--- a/Library/Homebrew/test/test_updater.rb
+++ b/Library/Homebrew/test/test_updater.rb
@@ -85,9 +85,9 @@ class UpdaterTests < Test::Unit::TestCase
perform_update(fixture('update_git_diff_output_with_tapped_formulae_changes'))
assert @updater.expectations_met?
assert_equal [
- Pathname('someuser/sometap/Formula/antiword.rb'),
- Pathname('someuser/sometap/HomebrewFormula/lua.rb'),
- Pathname('someuser/sometap/custom-formula.rb'),
+ HOMEBREW_LIBRARY.join("Taps", "someuser/sometap/Formula/antiword.rb"),
+ HOMEBREW_LIBRARY.join("Taps", "someuser/sometap/HomebrewFormula/lua.rb"),
+ HOMEBREW_LIBRARY.join("Taps", "someuser/sometap/custom-formula.rb"),
], @report.tapped_formula_for(:A)
end