git: add test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
d9e7691c8b
commit
5a0a703fb7
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue