jsonschema2pojo: use assert_predicate instead of File.exist?
This commit is contained in:
parent
5ed43fcfa3
commit
d02c5e4d11
1 changed files with 1 additions and 1 deletions
|
@ -31,6 +31,6 @@ class Jsonschema2pojo < Formula
|
|||
}
|
||||
EOS
|
||||
system bin/"jsonschema2pojo", "-s", "src", "-t", testpath
|
||||
assert File.exist?("Jsonschema.java"), "Failed to generate Jsonschema.java"
|
||||
assert_predicate testpath/"Jsonschema.java", :exist?, "Failed to generate Jsonschema.java"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue