aboutsummaryrefslogtreecommitdiffstats
path: root/test/uri
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-23 20:01:27 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-23 20:01:27 +0000
commita6727897392003115d2173baa152cd23eaf1ced6 (patch)
tree5efa23bed4ee19b43b109270febc61a1ef3d0b6f /test/uri
parentf6dad20e275e7f72bf729a23b655169beafc1068 (diff)
downloadruby-a6727897392003115d2173baa152cd23eaf1ced6.tar.gz
* lib/uri/mailto.rb: support RFC6068.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/uri')
-rw-r--r--test/uri/test_mailto.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/uri/test_mailto.rb b/test/uri/test_mailto.rb
index c2158845e8..3aac447436 100644
--- a/test/uri/test_mailto.rb
+++ b/test/uri/test_mailto.rb
@@ -100,9 +100,6 @@ class TestMailTo < Test::Unit::TestCase
# mailto:javascript:alert()
bad << ["javascript:alert()", []]
- # '=' which is in hname or hvalue is wrong.
- bad << ["foo@example.jp?subject=1+1=2", []]
-
ok.each do |x|
assert_equal(x[0],
@u.build(x[1]).to_s)
@@ -111,7 +108,7 @@ class TestMailTo < Test::Unit::TestCase
end
bad.each do |x|
- assert_raise(URI::InvalidComponentError) {
+ assert_raise(URI::InvalidComponentError, %[URI::MailTo.build(#{x.inspect})]) {
@u.build(x)
}
end