mmv: use assert_predicate and refute_predicate
This commit is contained in:
parent
15729a8a3b
commit
23dcbc49e9
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ class Mmv < Formula
|
|||
touch testpath/"a"
|
||||
touch testpath/"b"
|
||||
pipe_output(bin/"mmv", "a b\nb c\n")
|
||||
assert !(testpath/"a").exist?
|
||||
assert (testpath/"c").exist?
|
||||
refute_predicate testpath/"a", :exist?
|
||||
assert_predicate testpath/"c", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue