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:
parent
3307bc7fee
commit
5e6d81e717
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue