abnfgen: add test.
Closes Homebrew/homebrew#34912. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
94755c6816
commit
6049c8b195
1 changed files with 5 additions and 0 deletions
|
@ -11,4 +11,9 @@ class Abnfgen < Formula
|
|||
"--mandir=#{man}"
|
||||
system "make install"
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"grammar").write %(ring = 1*12("ding" SP) "dong" CRLF)
|
||||
system "#{bin}/abnfgen", (testpath/"grammar")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue