aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/emacs
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-05 13:59:45 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-11-05 17:19:51 -0700
commit2d4b3e33481baf98a2bf185304d693855dca296a (patch)
tree41dad6a035ca2c49793dfc97b0bd4670af96c21e /test/emacs
parenta09921bdfb47ff15f32bcea9f24e8399b1b8db36 (diff)
test: Clear the "BROKEN" flag on an existing emacs test
I still don't know everything about how I want search order to be customizable, but I do like the current defaults, (namely, performing a new search gives results newest first, but performing a saved search like "tag:inbox" gives results as oldest first). Until we come up with a better plan for people to select what *they* want, (rather than just getting what I want), let's codify the current results in the test suite.
Diffstat (limited to 'test/emacs')
-rwxr-xr-xtest/emacs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/emacs b/test/emacs
index 97f46286..c6b92677 100755
--- a/test/emacs
+++ b/test/emacs
@@ -26,10 +26,10 @@ output=$(test_emacs '(notmuch-search "tag:inbox") (notmuch-test-wait) (message (
expected=$(cat $EXPECTED/notmuch-search-tag-inbox)
test_expect_equal "$output" "$expected"
-test_begin_subtest "Navigation of notmuch-hello to search results
- [XXX: Need to decide the correct order of the search results]"
+test_begin_subtest "Navigation of notmuch-hello to search results"
output=$(test_emacs '(notmuch-hello) (goto-char (point-min)) (re-search-forward "inbox") (widget-button-press (point)) (notmuch-test-wait) (message (buffer-string))' 2>&1)
-test_expect_equal_failure "$output" "$expected"
+expected=$(cat $EXPECTED/notmuch-hello-view-inbox)
+test_expect_equal "$output" "$expected"
test_begin_subtest "Basic notmuch-show view in emacs"
maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu)