colordiff: add test.

master
Mike McQuaid 2013-01-27 22:37:34 +00:00
parent b92a45e988
commit a1de14ae40
1 changed files with 6 additions and 0 deletions

View File

@ -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__