diff options
author | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-30 10:13:54 +0000 |
---|---|---|
committer | gsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-30 10:13:54 +0000 |
commit | 5e6d81e717879424edc46cda993799d8de7aa635 (patch) | |
tree | 7819d96c511d8d216cc26a2d87f7531816748391 /lib/pathname.rb | |
parent | 3307bc7fee296837defa850852a9225949b8b682 (diff) |
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
Diffstat (limited to 'lib/pathname.rb')
-rw-r--r-- | lib/pathname.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb index e50b2f4878..d3c06bd70d 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -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 |