Skip to content

Commit

Permalink
choose: use assert_predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Oct 9, 2017
1 parent c05c9bf commit 17ce277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/choose.rb
Expand Up @@ -39,6 +39,6 @@ def install
# There isn't really a better test than that the executable exists
# and is executable because you can't run it without producing an
# interactive selection ui.
File.executable?("#{bin}/choose")
assert_predicate bin/"choose", :executable?
end
end

0 comments on commit 17ce277

Please sign in to comment.