diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 04:20:47 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-28 04:20:47 +0000 |
commit | c98da927313baf974e86392df394b7c1c3d4a02d (patch) | |
tree | d52babeefce01e70b0e9a265fdbf3284842fd131 /test/rss/test_parser.rb | |
parent | 60879c868b92faebe1b144cc59d49fed8f3f0e1c (diff) | |
download | ruby-c98da927313baf974e86392df394b7c1c3d4a02d.tar.gz ruby-c98da927313baf974e86392df394b7c1c3d4a02d.tar.xz ruby-c98da927313baf974e86392df394b7c1c3d4a02d.zip |
* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.2 -> 0.2.3.
* lib/rss/parser.rb, test/rss/test_parser.rb: supported "-" in tag name.
Reported by Ray Chen. Thanks.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rss/test_parser.rb')
-rw-r--r-- | test/rss/test_parser.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/rss/test_parser.rb b/test/rss/test_parser.rb index 59458ef51..2e8c9be4d 100644 --- a/test/rss/test_parser.rb +++ b/test/rss/test_parser.rb @@ -46,5 +46,17 @@ EOR assert_nil(RSS::Parser.parse(garbage_rss_file)) end end + + def test_parse_tag_includes_hyphen + assert_nothing_raised do + RSS::Parser.parse(make_RDF(<<-EOR)) +<xCal:x-calconnect-venue xmlns:xCal="urn:ietf:params:xml:ns:xcal" /> +#{make_channel} +#{make_item} +#{make_textinput} +#{make_image} +EOR + end + end end end |