dovecot-2.2: lib-fts: Minor unit test fix - use case sensitive c...

dovecot at dovecot.org dovecot at dovecot.org
Sat May 9 10:33:13 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/6c284e61013f
changeset: 18575:6c284e61013f
user:      Timo Sirainen <tss at iki.fi>
date:      Sat May 09 13:19:21 2015 +0300
description:
lib-fts: Minor unit test fix - use case sensitive checks for word comparison.

diffstat:

 src/lib-fts/test-fts-filter.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r eb6fbab30cf6 -r 6c284e61013f src/lib-fts/test-fts-filter.c
--- a/src/lib-fts/test-fts-filter.c	Sat May 09 13:15:43 2015 +0300
+++ b/src/lib-fts/test-fts-filter.c	Sat May 09 13:19:21 2015 +0300
@@ -527,7 +527,7 @@
 			test_assert(*bpp == NULL);
 		} else {
 			test_assert(*bpp != NULL);
-			test_assert(strcasecmp(*bpp, token)  == 0);
+			test_assert(strcmp(*bpp, token)  == 0);
 		}
 		bpp++;
 	}


More information about the dovecot-cvs mailing list