aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-06-08 21:26:21 -0500
committerJack Nagel2013-06-08 21:32:25 -0500
commit02d3a20c652313206e9a8c229c044b46e1fa553c (patch)
tree11f17ccf0067cdc4f2a67c3199498eb28472d0e6 /Library/Formula
parent29e7c51f4eb462ec1abadc5e2df5ffc48bfdd8ca (diff)
downloadhomebrew-02d3a20c652313206e9a8c229c044b46e1fa553c.tar.bz2
hub: use test assertion
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/hub.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/hub.rb b/Library/Formula/hub.rb
index 1b6cf3020..0ef8ef6b5 100644
--- a/Library/Formula/hub.rb
+++ b/Library/Formula/hub.rb
@@ -14,7 +14,7 @@ class Hub < Formula
test do
HOMEBREW_REPOSITORY.cd do
- `#{bin}/hub ls-files -- bin`.chomp == 'bin/brew'
+ assert_equal 'bin/brew', `#{bin}/git ls-files -- bin`.strip
end
end
end