summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikulin <manikulin@gmail.com>2021-04-04 21:40:27 +0700
committerBastien Guerry <bzg@gnu.org>2021-04-28 09:11:05 +0200
commit5e8f039aaad750d89aaa16c253849b02ed9245be (patch)
tree5744aaf7de8bf58543cc1052ac10428f67a59e74
parentebcee052fd23b7abe7fd4e24341615b66dd0fa06 (diff)
downloadorg-mode-5e8f039aaad750d89aaa16c253849b02ed9245be.tar.gz
test-org-protocol.el: Fix the case for parse parameters with complex argument
* testing/lisp/test-org-protocol.el (test-org-protocol/org-protocol-parse-parameters): Specify that the case simulating real life capture uses new style parameters string to prevent test failure. It looks like a typo survived since addition of this case in 2216f4d2c7.
-rw-r--r--testing/lisp/test-org-protocol.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/lisp/test-org-protocol.el b/testing/lisp/test-org-protocol.el
index 6ee368d..87df67a 100644
--- a/testing/lisp/test-org-protocol.el
+++ b/testing/lisp/test-org-protocol.el
@@ -40,7 +40,7 @@
"url=https%3A%2F%2Forgmode.org%2Forg.html%23capture-protocol&"
"title=The%20Org%20Manual&"
"body=9.4.2%20capture%20protocol"))
- (data (org-protocol-parse-parameters url)))
+ (data (org-protocol-parse-parameters url t)))
(should (string= (plist-get data :template) "p"))
(should (string= (plist-get data :url) "https://orgmode.org/org.html#capture-protocol"))
(should (string= (plist-get data :title) "The Org Manual"))