cadubi: squash unnecessary test element
Closes #31712. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
3cfb2cbb60
commit
41fc049327
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue