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 1CD3B431FBC for ; Tue, 22 Oct 2013 12:51:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 4FHwLdGFNKVp for ; Tue, 22 Oct 2013 12:51:13 -0700 (PDT) Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu [18.7.68.36]) by olra.theworths.org (Postfix) with ESMTP id 9A696431FDF for ; Tue, 22 Oct 2013 12:51:07 -0700 (PDT) X-AuditID: 12074424-b7f528e0000009aa-a0-5266d72a6726 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 38.D9.02474.A27D6625; Tue, 22 Oct 2013 15:51:06 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r9MJp3kU016700; Tue, 22 Oct 2013 15:51:04 -0400 Received: from drake.dyndns.org (31-33-57.wireless.csail.mit.edu [128.31.33.57]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r9MJp1KR005200 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 22 Oct 2013 15:51:03 -0400 Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1VYhyn-0006yp-4U; Tue, 22 Oct 2013 15:51:01 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH 6/8] pick: Use list form of tag-changes in test Date: Tue, 22 Oct 2013 15:50:55 -0400 Message-Id: <1382471457-26056-7-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.8.4.rc3 In-Reply-To: <1382471457-26056-1-git-send-email-amdragon@mit.edu> References: <1382471457-26056-1-git-send-email-amdragon@mit.edu> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsUixG6noqt1PS3IYMo0JYvrN2cyOzB6PFt1 izmAMYrLJiU1J7MstUjfLoEro/noU+aCXoGK+6vLGxgn8nYxcnJICJhIfPm8gh3CFpO4cG89 G4gtJLCPUaLhh1AXIxeQvZFR4t7vC8wQzjEmiYnHXkI5cxkl1kz9xwLSwiagIbFt/3JGEFtE QFpi593ZrF2MHBzMAmoSf7pUQMLCAvYSh1+9BythEVCVuLe4nRnE5hVwkDg+9woLxBVKEgtP bWMFsTkFHCWm7/vHBjJGCKjm1B2OCYz8CxgZVjHKpuRW6eYmZuYUpybrFicn5uWlFuma6+Vm luilppRuYgQHjIvKDsbmQ0qHGAU4GJV4eB+0pAUJsSaWFVfmHmKU5GBSEuWNuAoU4kvKT6nM SCzOiC8qzUktPsQowcGsJMLb7AuU401JrKxKLcqHSUlzsCiJ897isA8SEkhPLEnNTk0tSC2C ycpwcChJ8ApdA2oULEpNT61Iy8wpQUgzcXCCDOcBGn4MZDFvcUFibnFmOkT+FKOilDivMEiz AEgiozQPrhcW0a8YxYFeEeZ1AKniASYDuO5XQIOZgAZPWQI2uCQRISXVwGijt3qy7TqZAzxr Y9a7P4mcfXPaZjndpVO1VDZVHn0706Ot7KDQuu2r5rr93HzzVMtk3j+G13Pux6ZkPNUvrP7a GPy+5kCmwGKJh1GxWf5R6VFP1e9bML55p2Ii1T53TeS1KolddzQPBdYer+2Y6ZEnXnjzdsTx E6L/ZAr4I996tirL7z7hq6vEUpyRaKjFXFScCABk0n/gwwIAAA== 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: Tue, 22 Oct 2013 19:51:19 -0000 Currently we support both string and list forms of tag-changes for historical reasons. This is about to change, so fix pick's tests that use the legacy string form of tag-changes. --- contrib/notmuch-pick/test/emacs-pick | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick index a802d0e..40b0738 100755 --- a/contrib/notmuch-pick/test/emacs-pick +++ b/contrib/notmuch-pick/test/emacs-pick @@ -44,7 +44,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-pick "tag:inbox") (notmuch-test-wait) (forward-line) - (notmuch-pick-tag "+test_tag") + (notmuch-pick-tag (list "+test_tag")) (test-output) (delete-other-windows)' test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-tagged @@ -59,7 +59,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-pick "tag:inbox") (notmuch-test-wait) (forward-line) - (notmuch-pick-tag "-test_tag") + (notmuch-pick-tag (list "-test_tag")) (test-output) (delete-other-windows)' test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox @@ -75,7 +75,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-test-wait) ;; move to a sizable thread (forward-line 26) - (notmuch-pick-tag-thread "+test_thread_tag") + (notmuch-pick-tag-thread (list "+test_thread_tag")) (test-output) (delete-other-windows)' test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox-thread-tagged @@ -98,7 +98,7 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'") (notmuch-test-wait) ;; move to the same sizable thread as above (forward-line 26) - (notmuch-pick-tag-thread "-test_thread_tag") + (notmuch-pick-tag-thread (list "-test_thread_tag")) (test-output) (delete-other-windows)' test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox -- 1.8.4.rc3