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

fix test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-11-13 14:59:02 +00:00
parent d5a3389886
commit 19c0ede6fc

View file

@ -8,7 +8,6 @@ require 'tmpdir'
require 'enumerator'
class TestPathname < Test::Unit::TestCase
def self.define_assertion(name, &block)
@defassert_num ||= {}
@defassert_num[name] ||= 0
@ -130,7 +129,7 @@ class TestPathname < Test::Unit::TestCase
end
def del_trailing_separator(path)
Pathname.allocate.send(__send__, :del_trailing_separator, path)
Pathname.allocate.__send__(:del_trailing_separator, path)
end
defassert(:del_trailing_separator, "/", "/")