1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
kou 2009-05-16 09:35:08 +00:00
parent 1d2acd5664
commit 98bbfeae5e
2 changed files with 7 additions and 3 deletions

View file

@ -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> Sat May 16 18:33:15 2009 Kouhei Sutou <kou@cozmixng.org>
* NEWS: add RSS::Maker.supported?(version). * NEWS: add RSS::Maker.supported?(version).

View file

@ -422,7 +422,7 @@ module RSS
end end
end end
assert_equal(date, feed.items[0].updated.content) 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
def test_channel_dc_date def test_channel_dc_date
@ -434,7 +434,7 @@ module RSS
setup_dummy_item_atom(maker) setup_dummy_item_atom(maker)
end end
assert_equal(date, feed.updated.content) 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 end
def test_item_dc_date def test_item_dc_date
@ -448,7 +448,7 @@ module RSS
end end
end end
assert_equal(date, feed.items[0].updated.content) 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 end
end end