1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]

(backported from HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2006-11-04 13:03:20 +00:00
parent eaedcf8ac9
commit 6bd9297bb7
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sat Nov 4 13:13:57 2006 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]
(backported from HEAD)
Fri Nov 3 00:16:37 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (ruby_getnameinfo__aix): AF_INET6 workaround

View file

@ -0,0 +1,11 @@
require "net/imap"
require "test/unit"
class IMAPTest < Test::Unit::TestCase
def test_parse_nomodesq
parser = Net::IMAP::ResponseParser.new
r = parser.parse(%Q'* OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox\r\n')
assert_equal("OK", r.name)
assert_equal("NOMODSEQ", r.data.code.name)
end
end