diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/xapian.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/xapian.scm b/tests/xapian.scm index 20ded37..4874ed2 100644 --- a/tests/xapian.scm +++ b/tests/xapian.scm @@ -89,12 +89,15 @@ (test-equal "search: finds simple strings" '("33299") (search "hello" #:pagesize 2)) - (test-equal "search: supports submitter prefix with name" + (test-equal "search: supports submitter prefix with partial name" '("26095") (search "submitter:Ricardo" #:pagesize 2)) (test-equal "search: supports submitter prefix with partial email address" '("26095") (search "submitter:rekado" #:pagesize 2)) + (test-equal "search: supports submitter prefix with phrase" + '("26095") + (search "submitter:\"Ricardo Wurmus\"" #:pagesize 2)) (test-equal "search: supports author prefix with email address" '("26095" "33299") (search "author:ludo" #:pagesize 2))) |