summaryrefslogtreecommitdiff
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
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
-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 d453bec7cf0..1c858b01752 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 20 04:27:42 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
+
+ * test/rinda/test_rinda.rb: remove unused variables.
+ patched by Vipul A M <vipulnsward@gmail.com>
+
Wed Mar 20 04:15:32 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* ext/bigdecimal/bigdecimal.c: fixed typo.
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index e49a685bc9e..45f49a740ca 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