unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 50a9de7e6a7fcffe7b0641f1767a7561db05ea57 475 bytes (raw)
name: test/tests/json/00500-search-message-json-utf8.test 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 
printf " Search message: json, utf-8...\t\t\t"
add_message '[subject]="json-search-utf8-body-sübjéct"' '[date]="Sat, 01 Jan 2000 12:00:00 -0000"' '[body]="jsön-search-méssage"'
output=$($NOTMUCH search --format=json 'jsön-search-méssage' | notmuch_search_sanitize)
pass_if_equal "$output" '[{"thread": "XXX",
"timestamp": 946728000,
"matched": 1,
"total": 1,
"authors": "Notmuch Test Suite",
"subject": "json-search-utf8-body-sübjéct",
"tags": ["inbox", "unread"]}]'

debug log:

solving 50a9de7 ...
found 50a9de7 in https://yhetil.org/notmuch/87iq78daii.fsf@jhu.edu/

applying [1/1] https://yhetil.org/notmuch/87iq78daii.fsf@jhu.edu/
diff --git a/test/tests/json/00500-search-message-json-utf8.test b/test/tests/json/00500-search-message-json-utf8.test
new file mode 100644
index 0000000..50a9de7

Checking patch test/tests/json/00500-search-message-json-utf8.test...
Applied patch test/tests/json/00500-search-message-json-utf8.test cleanly.

index at:
100644 50a9de7e6a7fcffe7b0641f1767a7561db05ea57	test/tests/json/00500-search-message-json-utf8.test

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).