summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-06 14:11:21 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-06 14:11:21 +0000
commit3b21e88faa2d894054f3a0ca4c4e052c4ab7c24d (patch)
tree4a5ee741f50c87b71cf516b93f2b1ea5cf55873d
parentd724d5e771cc5bd64311e40e478cf2f4b8977747 (diff)
test/net/imap/test_imap_response_parser.rb: fixed test_resp_text_code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/net/imap/test_imap_response_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/imap/test_imap_response_parser.rb b/test/net/imap/test_imap_response_parser.rb
index 2eeaea04f00..f106e4a61d8 100644
--- a/test/net/imap/test_imap_response_parser.rb
+++ b/test/net/imap/test_imap_response_parser.rb
@@ -61,6 +61,6 @@ EOF
response = parser.parse(<<EOF.gsub(/\n/, "\r\n").taint)
* OK [CLOSED] Previous mailbox closed.
EOF
- assert_equal nil, response
+ assert_equal "CLOSED", response.data.code.name
end
end