diff options
| author | David Larson | 2015-01-03 23:43:02 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-04 10:46:40 +0000 |
| commit | 16fd1b7bb21a433986989b50a931cedb8cd38b57 (patch) | |
| tree | 626d8281404283aad96bc86b7ed44b202962cfb0 /Library/Formula | |
| parent | ecb0044d0473616c1a43fea3382f30bd1283a5e8 (diff) | |
| download | homebrew-16fd1b7bb21a433986989b50a931cedb8cd38b57.tar.bz2 | |
the_silver_searcher: add better test
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/the_silver_searcher.rb | 3 |
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 |
