From fded40e54659ce510c5a815236fd926c895a9b70 Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 18 Jun 2006 09:03:36 +0000 Subject: * lib/rss/rss.rb: fixed typo: except -> expect * lib/rss/parser.rb: ditto. * test/rss/rss-assertions.rb: ditto. * test/rss/test_parser.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rss/rss-assertions.rb | 6 +++--- test/rss/test_parser.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb index f90eb7f3f..fc2cd3cbe 100644 --- a/test/rss/rss-assertions.rb +++ b/test/rss/rss-assertions.rb @@ -71,12 +71,12 @@ module RSS end end - def assert_not_excepted_tag(tag, parent) + def assert_not_expected_tag(tag, parent) _wrap_assertion do begin yield - flunk("Not raise NotExceptedTagError") - rescue ::RSS::NotExceptedTagError => e + flunk("Not raise NotExpectedTagError") + rescue ::RSS::NotExpectedTagError => e assert_equal(tag, e.tag) assert_equal(parent, e.parent) end diff --git a/test/rss/test_parser.rb b/test/rss/test_parser.rb index f410b1b4f..47bbc2d9d 100644 --- a/test/rss/test_parser.rb +++ b/test/rss/test_parser.rb @@ -612,7 +612,7 @@ EOR assert_parse(rss, :nothing_raised) - assert_not_excepted_tag("a", "RDF") do + assert_not_expected_tag("a", "RDF") do Parser.parse(rss, true, false) end -- cgit