diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 09:03:36 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-18 09:03:36 +0000 |
commit | 3a55515ee8f3ca410adba6eea0b043dd6dccd242 (patch) | |
tree | 7c4c3b1443c7b1c21929fa58aa3eaab332b3b0b4 /test/rss/rss-assertions.rb | |
parent | eb8598146dcaa23230deceddff91e862e26d1b0f (diff) |
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/rss-assertions.rb')
-rw-r--r-- | test/rss/rss-assertions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rss/rss-assertions.rb b/test/rss/rss-assertions.rb index f90eb7f3f2..fc2cd3cbed 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 |