Skip to content

Commit

Permalink
imagesnap: add test.
Browse files Browse the repository at this point in the history
Closes #6824.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
MikeMcQuaid committed Nov 11, 2016
1 parent cb6e330 commit ddc1215
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/imagesnap.rb
Expand Up @@ -20,4 +20,8 @@ def install
xcodebuild "-project", "ImageSnap.xcodeproj", "SYMROOT=build", "-sdk", "macosx#{MacOS.version}"
bin.install "build/Release/imagesnap"
end

test do
assert_match "imagesnap", shell_output("#{bin}/imagesnap -h")
end
end

0 comments on commit ddc1215

Please sign in to comment.