aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-12-06 12:29:15 -0500
committerJack Nagel2014-12-06 15:02:48 -0500
commit6a56c45fbf2e7feb1ad92d2c2269f2a46dc2caca (patch)
treee8408c34803e7e9315dfae7ef7fe99e6cb9c6e3a /Library/Homebrew/test
parent645e82df8352e7a902902fafa494c7c300bcc8fd (diff)
downloadbrew-6a56c45fbf2e7feb1ad92d2c2269f2a46dc2caca.tar.bz2
Mark private VCSDownloadStrategy methods
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_download_strategies.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_download_strategies.rb b/Library/Homebrew/test/test_download_strategies.rb
index e7bc75e32..3dabc7af7 100644
--- a/Library/Homebrew/test/test_download_strategies.rb
+++ b/Library/Homebrew/test/test_download_strategies.rb
@@ -41,7 +41,7 @@ class VCSDownloadStrategyTests < Homebrew::TestCase
resource = ResourceDouble.new("http://example.com/bar")
strategy = Class.new(VCSDownloadStrategy) { def cache_tag; "foo"; end }
downloader = strategy.new("baz", resource)
- assert_equal "baz--foo", downloader.cache_filename
+ assert_equal HOMEBREW_CACHE.join("baz--foo"), downloader.cached_location
end
end