summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--test/rss/test_maker_atom_feed.rb6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 43ca8b1..4a360fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat May 16 18:36:01 2009 Kouhei Sutou <kou@cozmixng.org>
+
+ * test/rss/test_maker_atom_feed.rb: suppress warnings.
+
Sat May 16 18:33:15 2009 Kouhei Sutou <kou@cozmixng.org>
* NEWS: add RSS::Maker.supported?(version).
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