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

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
This commit is contained in:
akr 2003-12-26 07:42:35 +00:00
parent 16bcd53d21
commit 88947c09c4
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Fri Dec 26 16:40:53 2003 Tanaka Akira <akr@m17n.org>
* lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
Fri Dec 26 14:05:13 2003 Minero Aoki <aamine@loveruby.net>
* test/ruby/test_pack.rb: new test test_pack_N.

View file

@ -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