Skip to content

Commit

Permalink
timedog: add head spec (#17103)
Browse files Browse the repository at this point in the history
and add a test
  • Loading branch information
caesar authored and ilovezfs committed Aug 22, 2017
1 parent 74c4e7c commit 46fc3a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Formula/timedog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ class Timedog < Formula
homepage "https://github.com/nlfiedler/timedog"
url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/timedog/timedog-1.3.zip"
sha256 "4683f37a28407dabc5c56dc45e6480dd2db460289321edce8980a236cc2787ec"
head "https://github.com/nlfiedler/timedog.git"

bottle :unneeded

def install
bin.install "timedog"
end

test do
assert_match "Cannot locate timemachine directory", shell_output("#{bin}/timedog 2>&1", 2)
end
end

0 comments on commit 46fc3a3

Please sign in to comment.