cadubi: squash unnecessary test element

Closes #31712.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2018-09-02 20:18:32 +01:00
parent 3cfb2cbb60
commit 41fc049327
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -14,7 +14,7 @@ class Cadubi < Formula
end
test do
output = shell_output("script -q /dev/null #{bin}/cadubi -v | cat")
assert_match "cadubi (Creative ASCII Drawing Utility By Ian) #{version}\r\nCopyright (c) 2015 Ian Langworth", output # complete match because we are not checking the exit code
output = pipe_output("script -q /dev/null #{bin}/cadubi -v", "cat")
assert_match "cadubi (Creative ASCII Drawing Utility By Ian) #{version}", output
end
end