git: add test

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-05-04 17:56:25 -05:00
parent d9e7691c8b
commit 5a0a703fb7

View file

@ -80,4 +80,10 @@ class Git < Formula
#{HOMEBREW_PREFIX}/share/git-core/contrib
EOS
end
def test
HOMEBREW_REPOSITORY.cd do
`#{bin}/git ls-files -- bin`.chomp == 'bin/brew'
end
end
end