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 | 5bc769f658b49455c931d9705b3248d6d6959503 (patch) | |
tree | b4f6f76d35f0e038c978d18ebc203ce5d9855195 | |
parent | 61b3725a33113379aba4ace6a5a5505c0bb4cff0 (diff) | |
download | ruby-5bc769f658b49455c931d9705b3248d6d6959503.tar.gz ruby-5bc769f658b49455c931d9705b3248d6d6959503.tar.xz ruby-5bc769f658b49455c931d9705b3248d6d6959503.zip |
fix test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 f3a39a015..9b0b9c01e 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, "/", "/") |