ruby-changes:2419
From: ko1@a...
Date: 13 Nov 2007 23:59:14 +0900
Subject: [ruby-changes:2419] akr - Ruby:r13910 (trunk): fix test.
akr 2007-11-13 23:59:02 +0900 (Tue, 13 Nov 2007)
New Revision: 13910
Modified files:
trunk/test/pathname/test_pathname.rb
Log:
fix test.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/pathname/test_pathname.rb?r1=13910&r2=13909
Index: test/pathname/test_pathname.rb
===================================================================
--- test/pathname/test_pathname.rb (revision 13909)
+++ test/pathname/test_pathname.rb (revision 13910)
@@ -8,7 +8,6 @@
require 'enumerator'
class TestPathname < Test::Unit::TestCase
-
def self.define_assertion(name, &block)
@defassert_num ||= {}
@defassert_num[name] ||= 0
@@ -130,7 +129,7 @@
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, "/", "/")
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml