Skip to content

Commit

Permalink
cask-test: fix reinstall a non installed Cask
Browse files Browse the repository at this point in the history
Trying to uninstall a non installed Cask made this test fail.
This commit remove that and thus this test passes.
Note that every Cask is uninstalled after each test case.
  • Loading branch information
umireon committed Nov 9, 2016
1 parent f802c55 commit ad1fa73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Library/Homebrew/cask/test/cask/cli/reinstall_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
end

it "allows reinstalling a non installed Cask" do
shutup do
Hbc::CLI::Uninstall.run("local-transmission")
end
Hbc.load("local-transmission").wont_be :installed?

shutup do
Expand Down

0 comments on commit ad1fa73

Please sign in to comment.