Skip to content

Commit

Permalink
git-annex: adjust assert for Ruby pre-1.8.7
Browse files Browse the repository at this point in the history
Within a block, Ruby pre-1.8.7 gets confused about the parens in
this case.

Fixes mistydemeo/tigerbrew#194.
  • Loading branch information
mistydemeo committed May 10, 2014
1 parent 30d887b commit 69ba6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/git-annex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def install
# 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
Expand Down

0 comments on commit 69ba6f3

Please sign in to comment.