Add test demonstrating installing a relative symlink
This commit is contained in:
parent
ad467f0386
commit
e398e4519d
@ -218,4 +218,9 @@ class PathnameInstallTests < Homebrew::TestCase
|
||||
assert_predicate @dst+"bin/b.txt", :exist?
|
||||
assert_predicate (@dst+"bin").readlink, :relative?
|
||||
end
|
||||
|
||||
def test_install_relative_symlink
|
||||
@dst.install_symlink "foo" => "bar"
|
||||
assert_equal Pathname.new("foo"), (@dst+"bar").readlink
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user