ascii: add test
Closes Homebrew/homebrew#26443. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
825202efd8
commit
b8ae067b5f
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue