]> git.notmuchmail.org Git - notmuch/blobdiff - test/T450-emacs-show.sh
tests/smime: Test indexing cleartext of envelopedData
[notmuch] / test / T450-emacs-show.sh
index de1755d2da890d6891db54cdff0e35bd7e986f58..cca56ca32cd6875e6da4dbcd7b3b90932b3e3bef 100755 (executable)
@@ -177,7 +177,7 @@ test_emacs "(let ((notmuch-command \"$PWD/notmuch_fail\"))
                   (let ((inhibit-read-only t)) (erase-buffer)))
               (condition-case err
                   (notmuch-show \"*\")
-                (error (message \"%s\" (second err))))
+                (error (message \"%s\" (cadr err))))
               (notmuch-test-wait)
               (with-current-buffer \"*Messages*\"
                  (test-output \"MESSAGES\"))