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