aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2016-02-06 18:40:12 +0100
committerBaptiste Fontaine2016-02-07 11:52:25 +0100
commit4ce99fa0102c352f79071d8ae6aa64078ed1493d (patch)
tree0894c5f06732f0f3e58f7bdd44005ce34a99d9d5 /Library
parent2e892bcf63a1b594ddb3908bc8c82c2089cfaa45 (diff)
downloadbrew-4ce99fa0102c352f79071d8ae6aa64078ed1493d.tar.bz2
tests: remove unnecessary cd
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index 09adaf78e..a9f6517f8 100644
--- a/Library/Homebrew/test/test_integration_cmds.rb
+++ b/Library/Homebrew/test/test_integration_cmds.rb
@@ -152,10 +152,8 @@ class IntegrationCommandTests < Homebrew::TestCase
url "https://example.com/testball-0.1.tar.gz"
end
EOS
- HOMEBREW_CACHE.cd do
- assert_match(/testball-0\.1.*\.bottle\.tar\.gz/,
- cmd_output("bottle", "--no-revision", "testball"))
- end
+ assert_match(/testball-0\.1.*\.bottle\.tar\.gz/,
+ cmd_output("bottle", "--no-revision", "testball"))
ensure
cmd("uninstall", "--force", "testball")
cmd("cleanup", "--force", "--prune=all")