changeset 22364:cd3e74d1002f

pop3-migration: Add unit test for checking that trailing tabs are stripped
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 19 Jul 2017 10:58:43 +0300
parents dba5febb1752
children b4c4eef825ba
files src/plugins/pop3-migration/test-pop3-migration-plugin.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/pop3-migration/test-pop3-migration-plugin.c	Wed Jul 19 10:57:36 2017 +0300
+++ b/src/plugins/pop3-migration/test-pop3-migration-plugin.c	Wed Jul 19 10:58:43 2017 +0300
@@ -27,6 +27,7 @@
 		{ "a: b\r\n \r\n", "44ef6a20971148dd54a161f79814e22e2d098ddb", FALSE },
 		{ "a: b\r\n  \r\n", "44ef6a20971148dd54a161f79814e22e2d098ddb", FALSE },
 		{ "a: b\r\n\t\r\n", "44ef6a20971148dd54a161f79814e22e2d098ddb", FALSE },
+		{ "a: b\t\t\t\t\r\n", "44ef6a20971148dd54a161f79814e22e2d098ddb", FALSE },
 	};
 	struct istream *input;
 	unsigned char digest[SHA1_RESULTLEN];