diff options
| author | Adam Vandenberg | 2014-05-04 12:12:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-08-01 07:58:10 -0700 |
| commit | ff86702dd85eab420f6f58e8dcf8375dae4b22b9 (patch) | |
| tree | e0071c9d3604ab8d311679aa77ce9cce90da962f /Library/Formula/cksfv.rb | |
| parent | 1dc876667538fb33ebc9eb30edd3bc9b530592a6 (diff) | |
| download | homebrew-ff86702dd85eab420f6f58e8dcf8375dae4b22b9.tar.bz2 | |
use test helpers
Diffstat (limited to 'Library/Formula/cksfv.rb')
| -rw-r--r-- | Library/Formula/cksfv.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/cksfv.rb b/Library/Formula/cksfv.rb index c0cf4f1c5..89df75345 100644 --- a/Library/Formula/cksfv.rb +++ b/Library/Formula/cksfv.rb @@ -14,8 +14,6 @@ class Cksfv < Formula path = testpath/"foo" path.write "abcd" - lines = `#{bin}/cksfv #{path}`.split("\n") - assert lines.include?("#{path} ED82CD11") - assert_equal 0, $?.exitstatus + assert shell_output("#{bin}/cksfv #{path}").include?("#{path} ED82CD11") end end |
