* test/drb/test_drb.rb: rename TestRubyYield to TestDRbRubyYield to

avoid name crash with test/ruby/test_yield.rb.
  TestRuby18Yield is renamed to TestDRbRuby18Yield too.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-11-20 03:01:49 +00:00
Родитель 6591e38016
Коммит ee1029cb7f
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Tue Nov 20 11:59:33 2007 Tanaka Akira <akr@fsij.org>
* test/drb/test_drb.rb: rename TestRubyYield to TestDRbRubyYield to
avoid name crash with test/ruby/test_yield.rb.
TestRuby18Yield is renamed to TestDRbRuby18Yield too.
Tue Nov 20 03:24:42 2007 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/drb/extservm.rb: merged from ruby_1_8 branch.

Просмотреть файл

@ -113,7 +113,7 @@ class TestDRbYield < Test::Unit::TestCase
end
end
class TestRubyYield < TestDRbYield
class TestDRbRubyYield < TestDRbYield
def echo_yield(*arg)
yield(*arg)
end
@ -145,7 +145,7 @@ class TestRubyYield < TestDRbYield
end
end
class TestRuby18Yield < TestRubyYield
class TestDRbRuby18Yield < TestDRbRubyYield
class YieldTest18
def echo_yield(*arg, &proc)
proc.call(*arg)