diff --git a/Formula/gnome-doc-utils.rb b/Formula/gnome-doc-utils.rb index d0589022e1..3e610d1c12 100644 --- a/Formula/gnome-doc-utils.rb +++ b/Formula/gnome-doc-utils.rb @@ -17,7 +17,7 @@ class GnomeDocUtils < Formula depends_on :python depends_on "docbook" depends_on "gettext" - depends_on "libxml2" => "with-python" + depends_on "libxml2" def install # Find our docbook catalog @@ -32,4 +32,8 @@ class GnomeDocUtils < Formula system "make" system "make", "install" end + + test do + assert_match version.to_s, shell_output("#{bin}/gnome-doc-tool --version") + end end