summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authorayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-19 19:41:30 +0000
committerayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-19 19:41:30 +0000
commitdcbc7b01a3c3bf6d74f6971fab256a995e842103 (patch)
tree280756794eb44c8f88ad8706f28e27e11041c3c2 /test/rinda
parent49636da49059c4c227380c39015c60cf5c68c379 (diff)
* test/rinda/test_rinda.rb: remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index e49a685..45f49a7 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -150,7 +150,7 @@ module TupleSpaceTestModule
assert(!tmpl.match({"message"=>"Hello", "no_name"=>"Foo"}))
assert_raise(Rinda::InvalidHashTupleKey) do
- tmpl = Rinda::Template.new({:message=>String, "name"=>String})
+ Rinda::Template.new({:message=>String, "name"=>String})
end
tmpl = Rinda::Template.new({"name"=>String})
assert_equal(1, tmpl.size)
@@ -262,7 +262,7 @@ module TupleSpaceTestModule
end
def test_core_01
- 5.times do |n|
+ 5.times do
@ts.write([:req, 2])
end
@@ -297,7 +297,7 @@ module TupleSpaceTestModule
s
end
- 5.times do |n|
+ 5.times do
@ts.write([:req, 2])
end
@@ -310,7 +310,7 @@ module TupleSpaceTestModule
notify1 = @ts.notify(nil, [:req, Integer])
notify2 = @ts.notify(nil, {"message"=>String, "name"=>String})
- 5.times do |n|
+ 5.times do
@ts.write([:req, 2])
end