diff options
author | Austin Clements <amdragon@MIT.EDU> | 2013-10-22 20:21:59 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-10-25 21:31:00 -0300 |
commit | 3c3304131df66acfb7b74f56d658a3d57f7af487 (patch) | |
tree | ef25687bae4d7af96a29af8da3e97c4c573df418 /contrib | |
parent | 14971fe57c00718241ed4f8c56cfa0e0188a0231 (diff) |
pick: Use list form of tag-changes in test
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.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/notmuch-pick/test/emacs-pick | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/notmuch-pick/test/emacs-pick b/contrib/notmuch-pick/test/emacs-pick index a802d0e6..40b0738e 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 |