dovecot-2.0: imap-parser unit test fix.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 23 21:45:10 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/5ef9cca6fa27
changeset: 9510:5ef9cca6fa27
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 23 14:30:09 2009 -0400
description:
imap-parser unit test fix.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-imap/test-imap-parser.c |    2 +-

diffs (12 lines):

diff -r 15e427021619 -r 5ef9cca6fa27 src/lib-imap/test-imap-parser.c
--- a/src/lib-imap/test-imap-parser.c	Mon Jun 22 17:58:23 2009 -0400
+++ b/src/lib-imap/test-imap-parser.c	Tue Jun 23 14:30:09 2009 -0400
@@ -24,7 +24,7 @@ static void test_imap_parser_crlf(void)
 		test_assert(imap_parser_read_args(parser, 0, 0, &args) == -2);
 	}
 	test_istream_set_size(input, i+1);
-	test_assert(imap_parser_read_args(parser, 0, 0, &args) == 2);
+	test_assert(imap_parser_read_args(parser, 0, 0, &args) == 1);
 	test_assert(args[0].type == IMAP_ARG_ATOM);
 	test_assert(args[1].type == IMAP_ARG_EOL);
 


More information about the dovecot-cvs mailing list