From d508b6e0eaec5c29f2d0576a20a232500eae75e5 Mon Sep 17 00:00:00 2001 From: Jaime Marquínez Ferrándiz Date: Sun, 14 Jul 2013 14:44:04 +0200 Subject: unar 1.7 Added test Closes #21209. Signed-off-by: Jack Nagel --- Library/Formula/unar.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/unar.rb b/Library/Formula/unar.rb index e59b0e416..2aa7d542a 100644 --- a/Library/Formula/unar.rb +++ b/Library/Formula/unar.rb @@ -2,9 +2,9 @@ require 'formula' class Unar < Formula homepage 'http://unarchiver.c3.cx/commandline' - url 'http://theunarchiver.googlecode.com/files/unar1.6_src.zip' - version '1.6' - sha1 '1cee2ea4bd89feff4f84754858b21f3757404d7c' + url 'http://theunarchiver.googlecode.com/files/unar1.7_src.zip' + version '1.7' + sha1 'e34760d3806fbf3f1358485ccadf51bd5c7f81be' head 'https://code.google.com/p/theunarchiver/' , :using => :hg @@ -30,4 +30,9 @@ class Unar < Formula bash_completion.install "unar.bash_completion", "lsar.bash_completion" end end + + def test + system bin/'unar', '--version' + system bin/'lsar', '--version' + end end -- cgit v1.2.3