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 | fded40e54659ce510c5a815236fd926c895a9b70 (patch) | |
| tree | 7c4c3b1443c7b1c21929fa58aa3eaab332b3b0b4 /lib/rss/parser.rb | |
| parent | 903d0e275ff6ac5e5d50e73392005ee16b2443fa (diff) | |
| download | ruby-fded40e54659ce510c5a815236fd926c895a9b70.tar.gz ruby-fded40e54659ce510c5a815236fd926c895a9b70.tar.xz ruby-fded40e54659ce510c5a815236fd926c895a9b70.zip | |
* 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
Diffstat (limited to 'lib/rss/parser.rb')
| -rw-r--r-- | lib/rss/parser.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/parser.rb b/lib/rss/parser.rb index 10c6be853..f7308db59 100644 --- a/lib/rss/parser.rb +++ b/lib/rss/parser.rb @@ -345,7 +345,7 @@ module RSS if current_class.tag_name parent = current_class.tag_name end - raise NotExceptedTagError.new(local, parent) + raise NotExpectedTagError.new(local, parent) end end end @@ -374,7 +374,7 @@ module RSS @last_element.__send__(setter, text.to_s) else if @do_validate and not @ignore_unknown_element - raise NotExceptedTagError.new(tag_name, @last_element.tag_name) + raise NotExpectedTagError.new(tag_name, @last_element.tag_name) end end } |
