From 8f775021f8d7c7bb298451af3daee353ea3c19fb Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 18 Aug 2013 22:20:11 +0100 Subject: snzip: improve test. --- Library/Formula/snzip.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula/snzip.rb') diff --git a/Library/Formula/snzip.rb b/Library/Formula/snzip.rb index 7f9e74f36..992b68cbd 100644 --- a/Library/Formula/snzip.rb +++ b/Library/Formula/snzip.rb @@ -13,6 +13,8 @@ class Snzip < Formula end test do - system "snzip", "-h" + (testpath/'test.out').write "test" + system "snzip", "test.out" + system "snzip", "-d", "test.out.snz" end end -- cgit v1.2.3