cgvg: add test
This commit is contained in:
parent
4422333104
commit
b68392d1c9
1 changed files with 5 additions and 0 deletions
|
@ -16,4 +16,9 @@ class Cgvg < Formula
|
|||
"--mandir=#{man}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"test").write "Homebrew"
|
||||
assert_match /1 Homebrew/, shell_output("#{bin}/cg Homebrew '#{testpath}/test'")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue