aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-07 12:08:31 -0600
committerJack Nagel2013-01-07 12:08:31 -0600
commit83a939d1e6407f9cb50a43a5482d134a007044be (patch)
treef493110ffdcc3f7c9d5fd8696231c9249d278e9e /Library/Formula/git.rb
parent7e9e8b9662523edac9a24f1c57253bbcb07b2cdb (diff)
downloadhomebrew-83a939d1e6407f9cb50a43a5482d134a007044be.tar.bz2
git: use new-style test
Diffstat (limited to 'Library/Formula/git.rb')
-rw-r--r--Library/Formula/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 716a111d1..ba46fb2db 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -85,7 +85,7 @@ class Git < Formula
EOS
end
- def test
+ test do
HOMEBREW_REPOSITORY.cd do
`#{bin}/git ls-files -- bin`.chomp == 'bin/brew'
end