diff --git a/Formula/h2.rb b/Formula/h2.rb index b7e2f57b27e07..d8aa61f3919d7 100644 --- a/Formula/h2.rb +++ b/Formula/h2.rb @@ -1,9 +1,9 @@ class H2 < Formula desc "Java SQL database" homepage "https://www.h2database.com/" - url "https://www.h2database.com/h2-2015-10-11.zip" - version "1.4.190" - sha256 "7881f308debe6d587219db3610b699af21d5e4b50ccb6fccac563382772a09c8" + url "https://www.h2database.com/h2-2017-06-10.zip" + version "1.4.196" + sha256 "1224638c19b975ba4d8f82435c3ff89526740b1123409e29ceb87c0b6f1734c2" bottle :unneeded @@ -58,4 +58,8 @@ def plist; <<-EOS.undent EOS end + + test do + assert_match "Starts the H2 Console", shell_output("#{bin}/h2 -help") + end end