From 7208582d9862d7641ed3eb947baa7cf2c6064b93 Mon Sep 17 00:00:00 2001 From: gsinclair Date: Tue, 30 Dec 2003 10:13:54 +0000 Subject: Re-applied revision 1.21 as its changes were lost on the way to 1.22 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pathname.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/pathname.rb b/lib/pathname.rb index e50b2f487..d3c06bd70 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 -- cgit