Re: RFC/PATCH emacs attachment handling
[notmuch-archives.git] / d2 / d1a3fe02eb53178acf5c6e2a8abc628461a4bf
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 64875431FB5\r
6         for <notmuch@notmuchmail.org>; Mon, 29 Nov 2010 02:30:43 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id N6BYj14OunQ6 for <notmuch@notmuchmail.org>;\r
16         Mon, 29 Nov 2010 02:30:42 -0800 (PST)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        by olra.theworths.org (Postfix) with ESMTP id 4F532431FB6       for\r
19  <notmuch@notmuchmail.org>; Mon, 29 Nov 2010 02:30:42 -0800 (PST)\r
20 Received: by wwi17 with SMTP id 17so52762wwi.2\r
21         for <notmuch@notmuchmail.org>; Mon, 29 Nov 2010 02:30:41 -0800 (PST)\r
22 Received: by 10.216.52.199 with SMTP id e49mr4498460wec.63.1291026641399;\r
23         Mon, 29 Nov 2010 02:30:41 -0800 (PST)\r
24 Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com\r
25         [81.149.164.25])\r
26         by mx.google.com with ESMTPS id w29sm2293644weq.19.2010.11.29.02.30.39\r
27         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
28         Mon, 29 Nov 2010 02:30:40 -0800 (PST)\r
29 Received: by ut.hh.sledj.net (Postfix, from userid 1000)\r
30         id 35A0D594241; Mon, 29 Nov 2010 10:30:07 +0000 (GMT)\r
31 From: David Edmondson <dme@dme.org>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH 2/3] test: Expect `date_relative' in JSON search output.\r
34 Date: Mon, 29 Nov 2010 10:29:58 +0000\r
35 Message-Id: <1291026599-14795-3-git-send-email-dme@dme.org>\r
36 X-Mailer: git-send-email 1.7.2.3\r
37 In-Reply-To: <1291026599-14795-1-git-send-email-dme@dme.org>\r
38 References: <1291026599-14795-1-git-send-email-dme@dme.org>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=UTF-8\r
41 Content-Transfer-Encoding: 8bit\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Mon, 29 Nov 2010 10:30:43 -0000\r
55 \r
56 ---\r
57  test/json |    2 ++\r
58  1 files changed, 2 insertions(+), 0 deletions(-)\r
59 \r
60 diff --git a/test/json b/test/json\r
61 index 7fe2a27..c0ff22d 100755\r
62 --- a/test/json\r
63 +++ b/test/json\r
64 @@ -12,6 +12,7 @@ add_message "[subject]=\"json-search-subject\"" "[date]=\"Sat, 01 Jan 2000 12:00\r
65  output=$(notmuch search --format=json "json-search-message" | notmuch_search_sanitize)\r
66  test_expect_equal "$output" "[{\"thread\": \"XXX\",\r
67  \"timestamp\": 946728000,\r
68 +\"date_relative\": \"2000-01-01\",\r
69  \"matched\": 1,\r
70  \"total\": 1,\r
71  \"authors\": \"Notmuch Test Suite\",\r
72 @@ -33,6 +34,7 @@ add_message "[subject]=\"json-search-utf8-body-sübjéct\"" "[date]=\"Sat, 01 Ja\r
73  output=$(notmuch search --format=json "jsön-search-méssage" | notmuch_search_sanitize)\r
74  test_expect_equal "$output" "[{\"thread\": \"XXX\",\r
75  \"timestamp\": 946728000,\r
76 +\"date_relative\": \"2000-01-01\",\r
77  \"matched\": 1,\r
78  \"total\": 1,\r
79  \"authors\": \"Notmuch Test Suite\",\r
80 -- \r
81 1.7.2.3\r
82 \r