From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFcBIWC/hmHMVwAAgWs5BA (envelope-from ) for ; Sat, 06 Nov 2021 18:46:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aM6OHGC/hmHOKAAAbx9fmQ (envelope-from ) for ; Sat, 06 Nov 2021 17:46:08 +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 B28F235269 for ; Sat, 6 Nov 2021 18:46:07 +0100 (CET) Received: from localhost ([::1]:59702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjPlW-0008KM-Gw for larch@yhetil.org; Sat, 06 Nov 2021 13:46:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjPjm-0008Jp-T6 for emacs-orgmode@gnu.org; Sat, 06 Nov 2021 13:44:19 -0400 Received: from out1.migadu.com ([91.121.223.63]:57309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjPjg-0005g3-P1 for emacs-orgmode@gnu.org; Sat, 06 Nov 2021 13:44:17 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1636220645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=SzYNS7XWq/fpmYDcb4+06VTvuBk+SL5Roz0kU3p23bU=; b=QbCHtqFPaOfvWUWtJOsmkZeAM6Qus2dx9v/uW0gLLym3Ks8indj8zisfGXJXmrnPyjYZKc OnokgTP6WZnzmiFsojZ+oPCt0O2THv0XwEmGuwmmxkN5Jh+ed93bh3FSdxUw0F7QgK/vXr /R8J9YMgxUaAzqglaubf+5L/Ueu+biB7b0X9rVC7OUt0z9sttz6f9akCeeABYpo7d/kBSi lchzjDS+BFRaW/rMW64j6EU+Buo0Ml6+XEtQTv1CAprdlegtcjtkH7+EBc+YrzEg6jDdT5 UUDIuif7SbI7RAIOOrXv1JYnZHCtJhHwbuwE0VGlXCfzGU6fynE9ZC564kTezw== From: Kyle Meyer To: Nicolas Goaziou Subject: test-org-cite/main-affixes failure Date: Sat, 06 Nov 2021 13:44:02 -0400 Message-ID: <875yt56uxp.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org 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=1636220767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SzYNS7XWq/fpmYDcb4+06VTvuBk+SL5Roz0kU3p23bU=; b=m9anFUYidC8Cvb8xLjX5lVrpEVRQr4NPJjQ7cBlRy34zcbhpEmMWEJOdanHwhZo142FHQQ XtHqRajjzKnw+A0JFOPr0sdKRn4G84QZjroKTwf8aNotfJPmA4aadEBQcWF09DPYOsjimF 99e277Xbb6oxl26ewbG7QlND6gUtSyyqEu7s12Zg4gbejusaV+W0PV/zuqLi+dsuumGrbO vzi5oCWwQXyQt2lqONscLdEqv+MUqqbxgznX5fuBE1dO++dsmthk7DHu3UtjhmfZ0dI8PU bvF9Gz8VCLUuSuPzbX7Si5S96jaxK1iM1zLAWBLz3//A2EgFzmIur6KtxxMk5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636220767; a=rsa-sha256; cv=none; b=kFnuve4UUlPQchYp2fV6LJ/f41WTbRCWbYBkWamuCbyj0cyuClJ/z2xLqIdQK5TZIj5TdX dhDeQk65oZDPKSja13MXTKcLpIA99sAMORNcPb/106s3pFlYkWzqDqiH877qLFL5q4woAR ZfO3bmUMvxBtTkIgiWl6X24xdltMMf3t8AhU9BhyYsvcRfF6JGRE9k7A+ArpBUg89DWILH Ag6do+/CjJbiuQfjcwurK+o3N6j2UYdpJ3/yVMRoQbmup+1Wf+r+ZHapftufBldY8G0TVv 2kIpgSyMuLAs/wxowKi2uKIsdNawAur0PNlFah4ZXHMM72QI0DWiqlp7lxm9DQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=QbCHtqFP; dmarc=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: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=QbCHtqFP; dmarc=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: B28F235269 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: Os8Koc0FdAZw Hi Nicolas, test-org-cite/main-affixes, added in ad4028286 (oc: Refactor affixes extraction, 2021-11-03), is failing on my end: $ BTEST_RE=main-affixes make test-dirty [...] Test test-org-cite/main-affixes condition: (ert-test-failed ((should (equal '... (org-test-with-temp-text "[cite:@key1 post1;@key2 post2; global post]" ...))) :form (equal (nil "global post") (nil #(" global post" 0 12 ...))) :value nil :explanation (list-elt 1 (arrays-of-different-length 11 12 "global post" #(" global post" 0 12 ...) first-mismatch-at 0)))) FAILED 1/1 test-org-cite/main-affixes (0.009342 sec) [...] Adding a space to the expected SUFFIX (as in the diff below) makes the test pass for me and looks to be consistent with some of the other cases in that test. Does the current version of the test (no space) pass on your end? diff --git a/testing/lisp/test-oc.el b/testing/lisp/test-oc.el index c700780fe..896870303 100644 --- a/testing/lisp/test-oc.el +++ b/testing/lisp/test-oc.el @@ -286,7 +286,7 @@ (ert-deftest test-org-cite/main-affixes () (org-test-with-temp-text "[cite:global pre;pre1 @key1;pre2 @key2]" (org-cite-main-affixes (org-element-context))))) (should - (equal '(nil . ("global post")) + (equal '(nil . (" global post")) (org-test-with-temp-text "[cite:@key1 post1;@key2 post2; global post]" (org-cite-main-affixes (org-element-context))))))