emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] test-org-protocol.el: Fix the case for parse parameters with


From: Maxim Nikulin
Subject: [PATCH 1/3] test-org-protocol.el: Fix the case for parse parameters with complex argument
Date: Sun, 4 Apr 2021 21:40:27 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

* 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.
---
 testing/lisp/test-org-protocol.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/lisp/test-org-protocol.el 
b/testing/lisp/test-org-protocol.el
index b5df7c132..5ab96fdc2 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"))
-- 
2.25.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]