the_silver_searcher: add better test
This commit is contained in:
parent
ca00f31be3
commit
c336e7fa62
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue