colordiff: add test.
parent
b92a45e988
commit
a1de14ae40
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue