parent
2a5a612cd7
commit
459937549e
1 changed files with 6 additions and 0 deletions
|
@ -23,4 +23,10 @@ class A2ps < Formula
|
|||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
(testpath/"test.txt").write("Hello World!\n")
|
||||
system "#{bin}/a2ps", "test.txt", "-o", "test.ps"
|
||||
assert File.read("test.ps").start_with?("")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue