diff options
| author | Xu Cheng | 2015-01-02 13:36:19 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-02 09:51:12 +0000 |
| commit | c5a3b836ebcb593d3b9a3c2c4d83305ee10a839e (patch) | |
| tree | 928afc4556bff69dc57e63a808b787b5107077d8 /Library/Formula/patchutils.rb | |
| parent | d8dd9da7966abc5edf1f9f6612ecfd7c6a0d0ffd (diff) | |
| download | homebrew-c5a3b836ebcb593d3b9a3c2c4d83305ee10a839e.tar.bz2 | |
patchutils: add test
Closes #35445.
Diffstat (limited to 'Library/Formula/patchutils.rb')
| -rw-r--r-- | Library/Formula/patchutils.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/patchutils.rb b/Library/Formula/patchutils.rb index 1137111de..e58e777f5 100644 --- a/Library/Formula/patchutils.rb +++ b/Library/Formula/patchutils.rb @@ -14,4 +14,9 @@ class Patchutils < Formula system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install" end + + test do + assert_match /a\/libexec\/NOOP/, + shell_output("#{bin}/lsdiff #{HOMEBREW_LIBRARY.join("Homebrew", "test", "patches", "noop-a.diff")}") + end end |
