aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_pathname.rb
diff options
context:
space:
mode:
authorMartin Afanasjew2015-11-09 23:08:50 +0100
committerXu Cheng2015-11-11 14:22:44 +0800
commit8091b33f85c96a93d14de80ce3bfd9c32f8bb58c (patch)
treec493db948a4457ecf4369d9f1ae8be5e4c034bf7 /Library/Homebrew/test/test_pathname.rb
parent4296ec63ebe547466338a1df327a2069533bb5ec (diff)
downloadbrew-8091b33f85c96a93d14de80ce3bfd9c32f8bb58c.tar.bz2
ruby 1.8: address syntax warnings in Homebrew core
Closes Homebrew/homebrew#45849. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/test/test_pathname.rb')
-rw-r--r--Library/Homebrew/test/test_pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_pathname.rb b/Library/Homebrew/test/test_pathname.rb
index 0f36038dc..5456c5bdc 100644
--- a/Library/Homebrew/test/test_pathname.rb
+++ b/Library/Homebrew/test/test_pathname.rb
@@ -216,7 +216,7 @@ class PathnameInstallTests < Homebrew::TestCase
assert_predicate @dst+"bin", :directory?
assert_predicate @dst+"bin/a.txt", :exist?
assert_predicate @dst+"bin/b.txt", :exist?
- assert_predicate (@dst+"bin").readlink, :relative?
+ assert_predicate((@dst+"bin").readlink, :relative?)
end
def test_install_relative_symlink