cgvg: add test

This commit is contained in:
Dominyk Tiller 2015-11-07 04:43:24 +00:00
parent 4422333104
commit b68392d1c9

View file

@ -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