From: Tomi Ollila Date: Mon, 4 Mar 2013 05:59:31 +0000 (+0200) Subject: Re: [RFC] [PATCH] lib/database.cc: change how the parent of a message is calculated X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=aa5a1384c98ce4ecb3688c856799a4c730a48da6;p=notmuch-archives.git Re: [RFC] [PATCH] lib/database.cc: change how the parent of a message is calculated --- diff --git a/52/477b7b83fa6de663098e398606536ef134f111 b/52/477b7b83fa6de663098e398606536ef134f111 new file mode 100644 index 000000000..dde6c5d12 --- /dev/null +++ b/52/477b7b83fa6de663098e398606536ef134f111 @@ -0,0 +1,67 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 87E76431FAF + for ; Sun, 3 Mar 2013 21:59:48 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id gKwpRyN+9Jpl for ; + Sun, 3 Mar 2013 21:59:44 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 4720A431FAE + for ; Sun, 3 Mar 2013 21:59:44 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 1919A100051; + Mon, 4 Mar 2013 07:59:32 +0200 (EET) +From: Tomi Ollila +To: Aaron Ecay , Jani Nikula , + notmuch@notmuchmail.org +Subject: Re: [RFC] [PATCH] lib/database.cc: change how the parent of a message + is calculated +In-Reply-To: <87sj4cvy0h.fsf@gmail.com> +References: <1361836225-17279-1-git-send-email-aaronecay@gmail.com> + <87621cteeb.fsf@nikula.org> <871ubzt5gr.fsf@nikula.org> + <87wqtovygl.fsf@gmail.com> <87sj4cvy0h.fsf@gmail.com> +User-Agent: Notmuch/0.15.2+48~g8dcc33e (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 04 Mar 2013 05:59:48 -0000 + +On Mon, Mar 04 2013, Aaron Ecay wrote: + +> git send-email is mad about lines >998 characters in the test patch, so +> I=E2=80=99m sending the patches as attachments to this email. (Is there a +> better way to include the expected output of a notmuch command which +> outputs long lines in a test script?) + +Simplest thing is to split the expected string to multiple lines +and use test_expect_equal_json() for checking. + +Tomi +