mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/imap.rb (xlist): supported the XLIST command, which is an
extension by Apple and Google. patch by Geoff Youngs. [ruby-core:33521] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e806b0fed7
commit
fd019a5cbd
3 changed files with 48 additions and 1 deletions
|
@ -56,6 +56,15 @@ EOF
|
|||
end
|
||||
end
|
||||
|
||||
def test_flag_xlist_inbox
|
||||
parser = Net::IMAP::ResponseParser.new
|
||||
response = parser.parse(<<EOF.gsub(/\n/, "\r\n").taint)
|
||||
* XLIST (\\Inbox) "." "INBOX"
|
||||
EOF
|
||||
assert_equal [:Inbox], response.attr.data
|
||||
end
|
||||
|
||||
|
||||
def test_resp_text_code
|
||||
parser = Net::IMAP::ResponseParser.new
|
||||
response = parser.parse(<<EOF.gsub(/\n/, "\r\n").taint)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue