From f4d0c71f140127187bffc8044f3a1e32552bd659 Mon Sep 17 00:00:00 2001 From: kou Date: Sat, 16 May 2009 09:35:08 +0000 Subject: * test/rss/test_maker_atom_feed.rb: suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ test/rss/test_maker_atom_feed.rb | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 43ca8b13a..4a360fe24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat May 16 18:36:01 2009 Kouhei Sutou + + * test/rss/test_maker_atom_feed.rb: suppress warnings. + Sat May 16 18:33:15 2009 Kouhei Sutou * 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 724763b88..58a55c43f 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 -- cgit