mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
6591e38016
commit
ee1029cb7f
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
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.
|
* lib/drb/extservm.rb: merged from ruby_1_8 branch.
|
||||||
|
|
|
@ -113,7 +113,7 @@ class TestDRbYield < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class TestRubyYield < TestDRbYield
|
class TestDRbRubyYield < TestDRbYield
|
||||||
def echo_yield(*arg)
|
def echo_yield(*arg)
|
||||||
yield(*arg)
|
yield(*arg)
|
||||||
end
|
end
|
||||||
|
@ -145,7 +145,7 @@ class TestRubyYield < TestDRbYield
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class TestRuby18Yield < TestRubyYield
|
class TestDRbRuby18Yield < TestDRbRubyYield
|
||||||
class YieldTest18
|
class YieldTest18
|
||||||
def echo_yield(*arg, &proc)
|
def echo_yield(*arg, &proc)
|
||||||
proc.call(*arg)
|
proc.call(*arg)
|
||||||
|
|
Loading…
Add table
Reference in a new issue