From 455916b1c708bfdcb3e1a4e4ced83ec0e7fddc91 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:16 -0500 Subject: Make Test::Unit assertions available in formula tests Closes #18753. Closes #20358. --- Library/Formula/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3