summaryrefslogtreecommitdiff
path: root/test/pathname/test_pathname.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/pathname/test_pathname.rb')
-rw-r--r--test/pathname/test_pathname.rb3
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, "/", "/")