git-annex: adjust assert for Ruby pre-1.8.7

Within a block, Ruby pre-1.8.7 gets confused about the parens in
this case.

Fixes mistydemeo/tigerbrew#194.
This commit is contained in:
Misty De Meo 2014-05-10 14:23:24 -07:00
parent 30d887b190
commit 69ba6f3045

View file

@ -50,7 +50,7 @@ class GitAnnex < Formula
# and propagate its content to another
system "git", "clone", "my_annex", "my_annex_clone"
Dir.chdir "my_annex_clone" do
assert (not File.file? "bigfile")
assert !File.file?("bigfile")
system "git", "annex", "get", "bigfile"
assert File.file? "bigfile"
end