diff options
| author | Jack Nagel | 2013-06-08 21:26:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:31:44 -0500 |
| commit | 455916b1c708bfdcb3e1a4e4ced83ec0e7fddc91 (patch) | |
| tree | db62f2e5a59fcac600547c75c2fd8355c415d616 /Library/Formula | |
| parent | 9ce35c2c1862a1f8c24ddc6ee6a9a54030248db3 (diff) | |
| download | homebrew-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.rb | 2 |
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 |
