pango: use new test DSL
This commit is contained in:
parent
db144fd9fe
commit
b598da2831
1 changed files with 4 additions and 6 deletions
|
@ -49,11 +49,9 @@ class Pango < Formula
|
|||
system "make install"
|
||||
end
|
||||
|
||||
def test
|
||||
mktemp do
|
||||
system "#{bin}/pango-view", "-t", "test-image",
|
||||
"--waterfall", "--rotate=10",
|
||||
"--annotate=1", "--header"
|
||||
end
|
||||
test do
|
||||
system "#{bin}/pango-view", "-t", "test-image",
|
||||
"--waterfall", "--rotate=10",
|
||||
"--annotate=1", "--header"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue