aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/the_silver_searcher.rb3
1 files changed, 2 insertions, 1 deletions
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