• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ruby-106/ruby/test/uri/

Lines Matching refs:ok

20     ok = []
25 ok << ["mailto:chris@example.com"]
26 ok[-1] << ["chris@example.com", nil]
27 ok[-1] << {:to => "chris@example.com"}
30 ok << ["mailto:infobot@example.com?subject=current-issue"]
31 ok[-1] << ["infobot@example.com", ["subject=current-issue"]]
32 ok[-1] << {:to => "infobot@example.com",
36 ok << ["mailto:infobot@example.com?body=send%20current-issue"]
37 ok[-1] << ["infobot@example.com", ["body=send%20current-issue"]]
38 ok[-1] << {:to => "infobot@example.com",
42 ok << ["mailto:infobot@example.com?body=send%20current-issue%0D%0Asend%20index"]
43 ok[-1] << ["infobot@example.com",
45 ok[-1] << {:to => "infobot@example.com",
49 ok << ["mailto:foobar@example.com?In-Reply-To=%3c3469A91.D10AF4C@example.com"]
50 ok[-1] << ["foobar@example.com",
52 ok[-1] << {:to => "foobar@example.com",
56 ok << ["mailto:majordomo@example.com?body=subscribe%20bamboo-l"]
57 ok[-1] << ["majordomo@example.com", ["body=subscribe%20bamboo-l"]]
58 ok[-1] << {:to => "majordomo@example.com",
62 ok << ["mailto:joe@example.com?cc=bob@example.com&body=hello"]
63 ok[-1] << ["joe@example.com", ["cc=bob@example.com", "body=hello"]]
64 ok[-1] << {:to => "joe@example.com",
68 ok << ["mailto:?to=joe@example.com&cc=bob@example.com&body=hello"]
69 ok[-1] << [nil,
71 ok[-1] << {:headers => ["to=joe@example.com",
75 ok << ["mailto:gorby%25kremvax@example.com"]
76 ok[-1] << ["gorby%25kremvax@example.com", nil]
77 ok[-1] << {:to => "gorby%25kremvax@example.com"}
80 ok << ["mailto:unlikely%3Faddress@example.com?blat=foop"]
81 ok[-1] << ["unlikely%3Faddress@example.com", ["blat=foop"]]
82 ok[-1] << {:to => "unlikely%3Faddress@example.com",
86 ok << ["mailto:john@example.com?Subject=Ruby&Cc=jack@example.com"]
87 ok[-1] << ['john@example.com', [['Subject', 'Ruby'], ['Cc', 'jack@example.com']]]
88 ok[-1] << {:to=>"john@example.com", :headers=>[["Subject", "Ruby"], ["Cc", "jack@example.com"]]}
91 ok << ["mailto:listman@example.com?subject=subscribe"]
92 ok[-1] << {:to => 'listman@example.com', :headers => [['subject', 'subscribe']]}
93 ok[-1] << {:to => 'listman@example.com', :headers => [['subject', 'subscribe']]}
95 ok_all = ok.flatten.join("\0")
106 ok.each do |x|
119 assert_equal(ok_all, ok.flatten.join("\0"))