[PATCH 08/11] test: tree: remove require from tests

Mark Walters markwalters1009 at gmail.com
Tue Oct 29 15:55:35 PDT 2013


Now tree is autoloaded we don't need to "require it" in the test.
---
 test/emacs-tree |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/test/emacs-tree b/test/emacs-tree
index 4e3b624..4bdfddd 100755
--- a/test/emacs-tree
+++ b/test/emacs-tree
@@ -9,7 +9,6 @@ add_email_corpus
 
 test_begin_subtest "Basic notmuch-tree view in emacs"
 test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
-	    (require (quote notmuch-tree))
 	    (notmuch-tree "tag:inbox")
 	    (notmuch-test-wait)
 	    (test-output)
@@ -18,7 +17,6 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox
 
 test_begin_subtest "Refreshed notmuch-tree view in emacs"
 test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
-	    (require (quote notmuch-tree))
 	    (notmuch-tree "tag:inbox")
 	    (notmuch-test-wait)
 	    (notmuch-tree-refresh-view)
@@ -33,7 +31,6 @@ test_expect_equal_file OUTPUT $EXPECTED/notmuch-tree-tag-inbox
 
 test_begin_subtest "Tag message in notmuch tree view (display)"
 test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
-	    (require (quote notmuch-tree))
 	    (notmuch-tree "tag:inbox")
 	    (notmuch-test-wait)
 	    (forward-line)
@@ -48,7 +45,6 @@ test_expect_equal "$output" "id:877h1wv7mg.fsf at inf-8657.int-evry.fr"
 
 test_begin_subtest "Untag message in notmuch tree view"
 test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
-	    (require (quote notmuch-tree))
 	    (notmuch-tree "tag:inbox")
 	    (notmuch-test-wait)
 	    (forward-line)
@@ -63,7 +59,6 @@ test_expect_equal "$output" ""
 
 test_begin_subtest "Tag thread in notmuch tree view"
 test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
-	    (require (quote notmuch-tree))
 	    (notmuch-tree "tag:inbox")
 	    (notmuch-test-wait)
 	    ;; move to a sizable thread
@@ -86,7 +81,6 @@ id:20091117190054.GU3165 at dottiness.seas.harvard.edu"
 
 test_begin_subtest "Untag thread in notmuch tree view"
 test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
-	    (require (quote notmuch-tree))
 	    (notmuch-tree "tag:inbox")
 	    (notmuch-test-wait)
 	    ;; move to the same sizable thread as above
-- 
1.7.9.1



More information about the notmuch mailing list