summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-16 09:35:08 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-16 09:35:08 +0000
commit98bbfeae5e0879acc8477d09206d05815a1904be (patch)
tree8636c4e926c25973863f2a0bf1bfaab2244b87bf /test
parent1d2acd56640b0613191182bf075bf64f2110b5af (diff)
* test/rss/test_maker_atom_feed.rb: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rss/test_maker_atom_feed.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rss/test_maker_atom_feed.rb b/test/rss/test_maker_atom_feed.rb
index 724763b..58a55c4 100644
--- a/test/rss/test_maker_atom_feed.rb
+++ b/test/rss/test_maker_atom_feed.rb
@@ -422,7 +422,7 @@ module RSS
end
end
assert_equal(date, feed.items[0].updated.content)
- assert_equal([date], feed.items[0].dc_dates.collect {|date| date.value})
+ assert_equal([date], feed.items[0].dc_dates.collect {|_date| _date.value})
end
def test_channel_dc_date
@@ -434,7 +434,7 @@ module RSS
setup_dummy_item_atom(maker)
end
assert_equal(date, feed.updated.content)
- assert_equal([date], feed.dc_dates.collect {|date| date.value})
+ assert_equal([date], feed.dc_dates.collect {|_date| _date.value})
end
def test_item_dc_date
@@ -448,7 +448,7 @@ module RSS
end
end
assert_equal(date, feed.items[0].updated.content)
- assert_equal([date], feed.items[0].dc_dates.collect {|date| date.value})
+ assert_equal([date], feed.items[0].dc_dates.collect {|_date| _date.value})
end
end
end