dovecot-2.2: lib: Minor improvement to test-wildcard-match unit ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Mar 5 22:41:53 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/91852459f388
changeset: 18294:91852459f388
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Mar 06 00:41:14 2015 +0200
description:
lib: Minor improvement to test-wildcard-match unit test.

diffstat:

 src/lib/test-wildcard-match.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r a54408ed4767 -r 91852459f388 src/lib/test-wildcard-match.c
--- a/src/lib/test-wildcard-match.c	Fri Mar 06 00:40:46 2015 +0200
+++ b/src/lib/test-wildcard-match.c	Fri Mar 06 00:41:14 2015 +0200
@@ -27,6 +27,10 @@
 	{ "foo", "f*o*o*o", FALSE },
 	{ "foo", "f???*", FALSE },
 
+	{ "*foo", "foo", FALSE },
+	{ "foo*", "foo", FALSE },
+	{ "*foo*", "foo", FALSE },
+
 	{ "", "*", TRUE },
 	{ "", "", TRUE },
 	{ "", "?", FALSE }


More information about the dovecot-cvs mailing list