diff options
Diffstat (limited to 'tests/xapian.scm')
-rw-r--r-- | tests/xapian.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/xapian.scm b/tests/xapian.scm index 4874ed2..73827b2 100644 --- a/tests/xapian.scm +++ b/tests/xapian.scm @@ -100,7 +100,11 @@ (search "submitter:\"Ricardo Wurmus\"" #:pagesize 2)) (test-equal "search: supports author prefix with email address" '("26095" "33299") - (search "author:ludo" #:pagesize 2))) + (search "author:ludo" #:pagesize 2)) + (test-equal "search: finds by message id" + '("33299") + (search "msgid:c78be403-0616-67a0-fd5a-e1196b6a14d1@example.com" + #:pagesize 2))) (lambda () (delete-file-recursively db-dir)))) |