Skip to content

Commit

Permalink
nq: use assert_predicate instead of File.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Oct 6, 2017
1 parent 0db9834 commit a6d3e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/nq.rb
Expand Up @@ -24,6 +24,6 @@ def install
test do
system "#{bin}/nq", "touch", "TEST"
assert_match /exited with status 0/, shell_output("#{bin}/fq -a")
assert File.exist?("TEST")
assert_predicate testpath/"TEST", :exist?
end
end

0 comments on commit a6d3e79

Please sign in to comment.