From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +PRDCxTQaWCeZQEAgWs5BA (envelope-from ) for ; Sun, 04 Apr 2021 16:41:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8EAkBRTQaWAtRgAAB5/wlQ (envelope-from ) for ; Sun, 04 Apr 2021 14:41:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7D115200D5 for ; Sun, 4 Apr 2021 16:41:18 +0200 (CEST) Received: from localhost ([::1]:60026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lT3wD-0001uj-E3 for larch@yhetil.org; Sun, 04 Apr 2021 10:41:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lT3vZ-0001ud-UC for emacs-orgmode@gnu.org; Sun, 04 Apr 2021 10:40:37 -0400 Received: from ciao.gmane.io ([116.202.254.214]:55580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lT3vY-0000nf-Id for emacs-orgmode@gnu.org; Sun, 04 Apr 2021 10:40:37 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lT3vX-000A0S-2I for emacs-orgmode@gnu.org; Sun, 04 Apr 2021 16:40:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org 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 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617547279; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Jf0tNkT7kUchEjdIKZNqaNtfkL9gqra4nyMUN3C5GH0=; b=Pv0NjwEL6EDmoYLVuzRcPzeDeSJ/ua0Bc03PBaJPRaU/46EjITA5AlaEm5MLQmblS7JH4P zXk6HdujgwflCfxAU11i0E4DIMjygiRtpuia8pvb9NNOqlIkkV5K4xfQbWy7RvKiQrTqr1 UG+H2t8BkjSKxMkzXQ6T3+4DNnK9/M535byyNKEA2HG5Vm5KF4hj1JrQbBuRTR9UKbrxmO kvgCeMjyHbmsTGU5TwdXFOqzrKZI6t1B0B/tHvwmokBiHJXbZrc/1KA7My8GXvBiQM9efM QcxxJ+N5ud4clBaIBssyJFzh+VQVATcuXeGrXTZ5YgiPpStcUUM+wRBsq/LGJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617547279; a=rsa-sha256; cv=none; b=INJqATmC/+BcglwRABr6sU0yx0W1ofH0CH+enGA87e5uVp9qStqohX4Na8+L5eyFddzyuj E9il/0txs6+68SDrH9npOPcexRL9rTfHTbj7A48YOnoQwHoYdanzQdfAoIXDPsKPeDsNgf uKd6stCXbZ4QU6R7UhBrEzKIRfBJWhO5BkiEPUc9cs1Oke0K4XZ+yU1UP20sN+VB6ni13e EVHHuaxtAa3opHd6rhqRkSKODhntw3+N4buDvdshpg5HgUegbjm6Ixg6BVirANtMBfywRr 8qEWwY+c99uoDpeLGQR3/wgLdfMxyIVhTejA/nc4K+ytPbCiYUazCqNKzWJPEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.84 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7D115200D5 X-Spam-Score: -1.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: LTYKCSiVpBLW * 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