From 50b8a68d314cf93ab9dbc21a7030f2fb7e5b45fc Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sat, 10 May 2014 14:23:24 -0700 Subject: 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. --- Library/Formula/git-annex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/git-annex.rb b/Library/Formula/git-annex.rb index 62618d18a..cfb78eaf2 100644 --- a/Library/Formula/git-annex.rb +++ b/Library/Formula/git-annex.rb @@ -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 -- cgit v1.2.3