diff --git a/Formula/swaks.rb b/Formula/swaks.rb index ecc2ec4932..f13bbff512 100644 --- a/Formula/swaks.rb +++ b/Formula/swaks.rb @@ -1,12 +1,16 @@ class Swaks < Formula desc "SMTP command-line test tool" homepage "http://www.jetmore.org/john/code/swaks/" - url "http://www.jetmore.org/john/code/swaks/files/swaks-20130209.0.tar.gz" - sha256 "0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c" + url "http://www.jetmore.org/john/code/swaks/files/swaks-20170101.0.tar.gz" + sha256 "84e62dd0de4a56d5daebe25afd16835bd8d3c7f39caa5e6bc7d86a056925915e" bottle :unneeded def install bin.install "swaks" end + + test do + system "#{bin}/swaks", "--version" + end end