diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ascii.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/ascii.rb b/Library/Formula/ascii.rb index 00be79f70..e50e11ec9 100644 --- a/Library/Formula/ascii.rb +++ b/Library/Formula/ascii.rb @@ -10,4 +10,10 @@ class Ascii < Formula bin.install "ascii" man1.install 'ascii.1' end + + test do + output = `#{bin}/ascii 0x0a` + assert output.include?("Official name: Line Feed") + assert_equal 0, $?.exitstatus + end end |
