summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-29 13:14:47 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-29 13:14:47 +0000
commita937ea5c991407a49ef39947b68c3c39992a5f35 (patch)
treeb97dd9345ce1ace7623fd4ccbc06f3c88debc789
parent7b231b8b1976cf652e43d159070669b0bb385d0f (diff)
downloadruby-a937ea5c991407a49ef39947b68c3c39992a5f35.tar.gz
ruby-a937ea5c991407a49ef39947b68c3c39992a5f35.tar.xz
ruby-a937ea5c991407a49ef39947b68c3c39992a5f35.zip
use new_with instead of reinit [ruby=dev:25961]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--test/rinda/test_rinda.rb8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 0cf3e7f46..59147febc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Mar 29 22:11:56 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
+
+ * test/rinda/test_rinda.rb: use DRbObject.new_with instead of reinit.
+ [ruby-dev:25961]
+
Mon Mar 28 23:40:40 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/drb/drb.rb: move method DRbObject#reinit to DRbObject.new_with.
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index d2b2c7f17..86e161e0c 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -214,19 +214,19 @@ module TupleSpaceTestModule
tmpl = Rinda::DRbObjectTemplate.new(/^druby:\/\/host:/)
assert(tmpl === ro)
- ro.reinit(12345, 1234)
+ ro = DRbObject.new_with(12345, 1234)
assert(!(tmpl === ro))
- ro.reinit("druby://foo:12345", 1234)
+ ro = DRbObject.new_with("druby://foo:12345", 1234)
assert(!(tmpl === ro))
tmpl = Rinda::DRbObjectTemplate.new(/^druby:\/\/(foo|bar):/)
assert(tmpl === ro)
- ro.reinit("druby://bar:12345", 1234)
+ ro = DRbObject.new_with("druby://bar:12345", 1234)
assert(tmpl === ro)
- ro.reinit("druby://baz:12345", 1234)
+ ro = DRbObject.new_with("druby://baz:12345", 1234)
assert(!(tmpl === ro))
end