summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-05-05 19:31:23 -0400
committerKyle Meyer <kyle@kyleam.com>2017-05-05 19:31:23 -0400
commitb0deb8721fb8dabbc95f50900d7beb733805c0ec (patch)
treeba191b620686c918d61618a150223f732aef1eaa
parentbfb8a6390a77e8578fae33781795da4592baa577 (diff)
downloadorg-link-edit-b0deb8721fb8dabbc95f50900d7beb733805c0ec.tar.gz
tests/transport-next-link: Specify error types
-rw-r--r--test-org-link-edit.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/test-org-link-edit.el b/test-org-link-edit.el
index 5999dce..da69fd2 100644
--- a/test-org-link-edit.el
+++ b/test-org-link-edit.el
@@ -550,13 +550,15 @@ website"
(org-test-with-temp-text
"Here is Org's website http://orgmode.org/<point>"
(org-link-edit-transport-next-link)
- (buffer-string)))
+ (buffer-string))
+ :type 'user-error)
(should-error
(org-test-with-temp-text
"Here is Org's website <point>http://orgmode.org/"
(org-link-edit-transport-next-link
nil (point-min) (point))
- (buffer-string))))
+ (buffer-string))
+ :type 'user-error))
;;; Other