Commit 6ce7f79ff3
Verified · cmc
Layout: unified · split
Formula/gitbay-runner.rb +2 −1
| @@ -34,6 +34,7 @@ class GitbayRunner < Formula | |||
| 34 | end | 34 | end |
| 35 | 35 | ||
| 36 | test do | 36 | test do |
| 37 | assert_match "gitbay-runner", shell_output("#{bin}/gitbay-runner -version") | 37 | # -version prints the commit the binary was built from. |
| 38 | assert_match(/\A[0-9a-f]{12}/, shell_output("#{bin}/gitbay-runner -version")) | ||
| 38 | end | 39 | end |
| 39 | end | 40 | end |