aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-06-08 21:26:16 -0500
committerJack Nagel2013-06-08 21:31:44 -0500
commit455916b1c708bfdcb3e1a4e4ced83ec0e7fddc91 (patch)
treedb62f2e5a59fcac600547c75c2fd8355c415d616 /Library/Formula
parent9ce35c2c1862a1f8c24ddc6ee6a9a54030248db3 (diff)
downloadhomebrew-455916b1c708bfdcb3e1a4e4ced83ec0e7fddc91.tar.bz2
Make Test::Unit assertions available in formula tests
Closes #18753. Closes #20358.
Diffstat (limited to 'Library/Formula')
-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 7831c5e5c..80aa50660 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -100,7 +100,7 @@ class Git < Formula
test do
HOMEBREW_REPOSITORY.cd do
- `#{bin}/git ls-files -- bin`.chomp == 'bin/brew'
+ assert_equal 'bin/brew', `#{bin}/git ls-files -- bin`.strip
end
end
end