the_silver_searcher: add better test

This commit is contained in:
David Larson 2015-01-03 23:43:02 -08:00 committed by Mike McQuaid
parent ca00f31be3
commit c336e7fa62

View file

@ -44,6 +44,7 @@ class TheSilverSearcher < Formula
end
test do
system "#{bin}/ag", "--version"
(testpath/"Hello.txt").write("Hello World!")
system "#{bin}/ag", "Hello World!"
end
end