ruby-changes:14743
From: shugo <ko1@a...>
Date: Sat, 6 Feb 2010 23:15:12 +0900 (JST)
Subject: [ruby-changes:14743] Ruby:r26602 (trunk): test/net/imap/test_imap_response_parser.rb: fixed test_resp_text_code.
shugo 2010-02-06 23:11:21 +0900 (Sat, 06 Feb 2010) New Revision: 26602 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26602 Log: test/net/imap/test_imap_response_parser.rb: fixed test_resp_text_code. Modified files: trunk/test/net/imap/test_imap_response_parser.rb Index: test/net/imap/test_imap_response_parser.rb =================================================================== --- test/net/imap/test_imap_response_parser.rb (revision 26601) +++ test/net/imap/test_imap_response_parser.rb (revision 26602) @@ -61,6 +61,6 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/