vala: use assert_predicate instead of File.exist?
This commit is contained in:
parent
df5fcf49b7
commit
cf951c7715
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class Vala < Formula
|
|||
path.to_s,
|
||||
]
|
||||
system "#{bin}/valac", *valac_args
|
||||
assert File.exist?(testpath/"hello.c")
|
||||
assert_predicate testpath/"hello.c", :exist?
|
||||
|
||||
assert_equal test_string, shell_output("#{testpath}/hello")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue