gprof2dot: use assert_predicate instead of File.exist?
This commit is contained in:
parent
da1a307f10
commit
9182d3a746
1 changed files with 1 additions and 1 deletions
|
@ -182,6 +182,6 @@ class Gprof2dot < Formula
|
|||
[4] project1 [2] worker1
|
||||
EOS
|
||||
system bin/"gprof2dot", testpath/"gprof.output", "-o", testpath/"call_graph.dot"
|
||||
assert File.exist?(testpath/"call_graph.dot")
|
||||
assert_predicate testpath/"call_graph.dot", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue