diff options
author | Eric Wong <e@yhbt.net> | 2020-06-16 07:05:06 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-06-16 21:41:59 +0000 |
commit | 9c2bac94376c5029d258fed1ad3bf8c6b2270019 (patch) | |
tree | 1890027edfd65922ab33d34d8d62c9b515ddcd6a /t/imapd.t | |
parent | bdee1f6bfaa0017877e5d5284c2d5e41f67e847a (diff) | |
download | public-inbox-9c2bac94376c5029d258fed1ad3bf8c6b2270019.tar.gz |
I accidentally dropped "TEXT" handling while porting the IMAP search query parser to Parse::RecDescent. This reinstates it and adds a test to prevent future regression, and the additional test fixes a counting error for non-Xapian-enabled systems.
Diffstat (limited to 't/imapd.t')
-rw-r--r-- | t/imapd.t | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -398,6 +398,8 @@ SKIP: { is(scalar(@$x), 1, 'MSN SEARCH on Subject works after rm'); $x = $mic->message_string($x->[0]); is($x, $ret->{2}->{RFC822}, 'message 2 unchanged'); + $x = $mic->search(qw(text embedded)); + is(scalar(@$x), 1, 'MSN SEARCH on TEXT works after rm'); } # FIXME? no EXPUNGE response, yet |