argyll-cms: use assert_predicate
This commit is contained in:
parent
c5b0618d6a
commit
5ea77e5fed
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ class ArgyllCms < Formula
|
|||
test do
|
||||
system bin/"targen", "-d", "0", "test.ti1"
|
||||
system bin/"printtarg", testpath/"test.ti1"
|
||||
%w[test.ti1.ps test.ti1.ti1 test.ti1.ti2].each { |f| File.exist? f }
|
||||
%w[test.ti1.ps test.ti1.ti1 test.ti1.ti2].each do |f|
|
||||
assert_predicate testpath/f, :exist?
|
||||
end
|
||||
assert_match "Calibrate a Display", shell_output("#{bin}/dispcal 2>&1", 1)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue