Commit 6ce7f79ff3

6ce7f79ff36971a2cffd1d201381ecf924dfe284

parent: efb22eef8a

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-09 23:35 UTC

gitbay-runner: the test asserts the commit -version prints

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
39end 40end