Skip to content

Commit

Permalink
lib-storage: Add test for inversion of n->max
Browse files Browse the repository at this point in the history
In mail-search-simplify-args, ensure that
ALL NOT UID 3:* becomes UID 1:2
  • Loading branch information
cmouse authored and sirainen committed Dec 8, 2016
1 parent 98ac5ee commit 93d5beb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib-storage/test-mail-search-args-simplify.c
Expand Up @@ -69,6 +69,8 @@ struct {
{ "1:5 UID 10:20", "1:5 UID 10:20" },
{ "1:5 NOT UID 10:20", "1:5 UID 1:9,21:4294967295" },

{ "ALL NOT UID 3:*", "UID 1:2" },

{ "BEFORE 03-Aug-2014 BEFORE 01-Aug-2014 BEFORE 02-Aug-2014", "BEFORE \"01-Aug-2014\"" },
{ "OR BEFORE 01-Aug-2014 BEFORE 02-Aug-2014", "BEFORE \"02-Aug-2014\"" },
{ "OR BEFORE 01-Aug-2014 OR BEFORE 03-Aug-2014 BEFORE 02-Aug-2014", "BEFORE \"03-Aug-2014\"" },
Expand Down

0 comments on commit 93d5beb

Please sign in to comment.