diff options
| -rw-r--r-- | Library/Formula/lorem.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/lorem.rb b/Library/Formula/lorem.rb index 13f84b4fc..c8ac13ef8 100644 --- a/Library/Formula/lorem.rb +++ b/Library/Formula/lorem.rb @@ -10,4 +10,10 @@ class Lorem < Formula inreplace "lorem", "!/usr/bin/python", "!/usr/bin/env python" bin.install "lorem" end + + test do + output = `#{bin}/lorem -n 2` + assert_equal "lorem ipsum\n", output + assert_equal 0, $?.exitstatus + end end |
