menhir: use assert_predicate instead of File.exist?
This commit is contained in:
parent
f898c8beac
commit
bf62c72494
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class Menhir < Formula
|
|||
EOS
|
||||
|
||||
system "#{bin}/menhir", "--dump", "--explain", "--infer", "test.mly"
|
||||
assert File.exist? "test.ml"
|
||||
assert File.exist? "test.mli"
|
||||
assert_predicate testpath/"test.ml", :exist?
|
||||
assert_predicate testpath/"test.mli", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue