зеркало из https://github.com/github/ruby.git
* 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:
Родитель
6591e38016
Коммит
ee1029cb7f
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче