From 16fd1b7bb21a433986989b50a931cedb8cd38b57 Mon Sep 17 00:00:00 2001 From: David Larson Date: Sat, 3 Jan 2015 23:43:02 -0800 Subject: the_silver_searcher: add better test --- Library/Formula/the_silver_searcher.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/the_silver_searcher.rb b/Library/Formula/the_silver_searcher.rb index 508e92ed3..56b40585a 100644 --- a/Library/Formula/the_silver_searcher.rb +++ b/Library/Formula/the_silver_searcher.rb @@ -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 -- cgit v1.2.3