diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-26 07:42:35 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-26 07:42:35 +0000 |
commit | 88947c09c4ca803df0a79a81b519cbb5e498e85c (patch) | |
tree | 355d6bf78fbf869f6c091daea845932e5985cd55 /lib/pathname.rb | |
parent | 16bcd53d215ba6a627a4dbb1c88ce67a3fece08d (diff) | |
download | ruby-88947c09c4ca803df0a79a81b519cbb5e498e85c.tar.gz |
lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5304 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 bf4dcf4d94..2ff2925d9e 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -776,9 +776,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 |