diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-13 14:59:02 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-13 14:59:02 +0000 |
commit | 19c0ede6fc6d148af85e2f5191a63da65b2e3feb (patch) | |
tree | b4f6f76d35f0e038c978d18ebc203ce5d9855195 /test/pathname | |
parent | d5a3389886c9dc7f3492ef5369009c40d85b0f3c (diff) |
fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/pathname')
-rw-r--r-- | test/pathname/test_pathname.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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, "/", "/") |