summaryrefslogtreecommitdiffstats
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
commitf4d0c71f140127187bffc8044f3a1e32552bd659 (patch)
tree8636c4e926c25973863f2a0bf1bfaab2244b87bf
parent3f9d961f28a422fcbd5388b433e69322d1ba339b (diff)
downloadruby-f4d0c71f140127187bffc8044f3a1e32552bd659.tar.gz
ruby-f4d0c71f140127187bffc8044f3a1e32552bd659.tar.xz
ruby-f4d0c71f140127187bffc8044f3a1e32552bd659.zip
* 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
-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 43ca8b13a..4a360fe24 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 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