summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d453bec7cf..1c858b0175 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 e49a685bc9..45f49a740c 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