Summary
Formula/gander.rb at gandermd/homebrew-gander currently asserts the installed binary via:
test do
assert_match "render Markdown", shell_output("#{bin}/gander --help")
end
The intent (per #46) was:
test do
assert_match version.to_s, shell_output("#{bin}/gander --version")
end
The looser assertion is a stop-gap: the v0.11.0 binary predates the --version / gander version change in PR #58. PR #58 will ship in the next release (v0.12.0 or later). Once that release is tagged and the formula is bumped via scripts/bump-homebrew.sh, the test can use the original --version assertion — both tighter and more obviously version-aware.
Acceptance criteria
Notes
version is auto-derived from the URL (no explicit version "X.Y.Z" line in the formula), so version.to_s continues to track the bumped value.
- This change is a single-line edit in the bump PR; no separate release plumbing needed.
Summary
Formula/gander.rbatgandermd/homebrew-gandercurrently asserts the installed binary via:The intent (per #46) was:
The looser assertion is a stop-gap: the v0.11.0 binary predates the
--version/gander versionchange in PR #58. PR #58 will ship in the next release (v0.12.0 or later). Once that release is tagged and the formula is bumped viascripts/bump-homebrew.sh, the test can use the original--versionassertion — both tighter and more obviously version-aware.Acceptance criteria
--version/gander versionscripts/bump-homebrew.sh <version>, editFormula/gander.rbto:brew audit --strict --new --tap=gandermd/gander ganderexits 0brew test gandermd/gander/ganderexits 0Notes
versionis auto-derived from the URL (no explicitversion "X.Y.Z"line in the formula), soversion.to_scontinues to track the bumped value.