1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Re-applied revision 1.21 as its changes were lost on the way to 1.22

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gsinclair 2003-12-30 10:13:54 +00:00
parent 3307bc7fee
commit 5e6d81e717

View file

@ -946,9 +946,11 @@ if $0 == __FILE__
assert_pathname_plus('/', '/', '..')
assert_pathname_plus('.', 'a', '..')
assert_pathname_plus('a', 'a/b', '..')
assert_pathname_plus('../..', '..', '..')
assert_pathname_plus('/c', '/', '../c')
assert_pathname_plus('c', 'a', '../c')
assert_pathname_plus('a/c', 'a/b', '../c')
assert_pathname_plus('../../c', '..', '../c')
end
end
end