From 19c0ede6fc6d148af85e2f5191a63da65b2e3feb Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 13 Nov 2007 14:59:02 +0000 Subject: fix test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/pathname/test_pathname.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/pathname/test_pathname.rb') diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index f3a39a015a..9b0b9c01e8 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -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, "/", "/") -- cgit v1.2.3