diff options
| author | Baptiste Fontaine | 2016-02-06 18:40:12 +0100 |
|---|---|---|
| committer | Baptiste Fontaine | 2016-02-07 11:52:25 +0100 |
| commit | 4ce99fa0102c352f79071d8ae6aa64078ed1493d (patch) | |
| tree | 0894c5f06732f0f3e58f7bdd44005ce34a99d9d5 /Library/Homebrew | |
| parent | 2e892bcf63a1b594ddb3908bc8c82c2089cfaa45 (diff) | |
| download | brew-4ce99fa0102c352f79071d8ae6aa64078ed1493d.tar.bz2 | |
tests: remove unnecessary cd
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 6 |
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") |
