aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/colordiff.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/colordiff.rb b/Library/Formula/colordiff.rb
index 990e53af6..b1ee9bda7 100644
--- a/Library/Formula/colordiff.rb
+++ b/Library/Formula/colordiff.rb
@@ -14,6 +14,12 @@ class Colordiff < Formula
"MAN_DIR=#{man1}",
"install"
end
+
+ test do
+ cp HOMEBREW_PREFIX+'bin/brew', 'brew1'
+ cp HOMEBREW_PREFIX+'bin/brew', 'brew2'
+ system "#{bin}/colordiff", 'brew1', 'brew2'
+ end
end
__END__