From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eB/+Mvo69WHSdAAAgWs5BA (envelope-from ) for ; Sat, 29 Jan 2022 14:02:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ANSNL/o69WG69AAAauVa8A (envelope-from ) for ; Sat, 29 Jan 2022 14:02:50 +0100 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 64DA0157E3 for ; Sat, 29 Jan 2022 14:02:50 +0100 (CET) Received: from localhost ([::1]:50354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDnNQ-0000TV-1g for larch@yhetil.org; Sat, 29 Jan 2022 08:02:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDm4T-0005bM-0p for emacs-orgmode@gnu.org; Sat, 29 Jan 2022 06:39:11 -0500 Received: from [2607:f8b0:4864:20::42f] (port=44963 helo=mail-pf1-x42f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDm4R-0001DA-Mo; Sat, 29 Jan 2022 06:39:08 -0500 Received: by mail-pf1-x42f.google.com with SMTP id n32so8522930pfv.11; Sat, 29 Jan 2022 03:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=byyNKyW7bnVoReFovpEtcYUCyXM+O0PJrBbZqvIuGag=; b=HJQX70jHXcRl0eBmrtUDWVTsGZUHNf0gSbSpKTxcr7k3SvHY7lz+cCK6ZpIE3M62He 1lxSKrFVuL41ybDY/QgbhMkpORh82GwBiuRYc+tUjSzqVTa/Eye3LXc37GS1LCVTVa8L mdaULv/g6G7XCX+rNFnPcrZaMdPtFo8TaIpGP4EvOj0MtQMLfi7LT5f8H3lale7YFDBD L+w0eGG/tYdXz6J+iFtTh32gWbi+KSHVDf80m5GYsnsZhkSlviEMQWnNSDtf3E4cL04+ FkqKvyxfvqgxFVaQ9wKtotin/XZiJc0WKPTfDMsKp2MAdWE8D3gVAQgcF2HFV4+G1aFz a46w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=byyNKyW7bnVoReFovpEtcYUCyXM+O0PJrBbZqvIuGag=; b=XdB0cw8U3j3MDnsuVHACcG44qzAKDYPPp7GDvn1MWpU1IEQgyPU8JKE2HH1m01zpUZ XrddSH/0tRvNh2mirj2In10cQRN/gB7LBZwwueGss1wQH1WAr3LmesNwRz45GjiGqLJz PA76DHzFU1ppuD/Z0C/Sq8c1DuBJNE7xnVmcbBQhV2Zc90w8c4dimoQ1fFvg2fzW4bmz Ki+cEcbOaltqboF+LCaxSb503aKbACmDG+JpckWVGPMPb2szNbPxWH4c5xrwCgV6mpKr UAuH2p6doReCBGq8bNUR21QW2+srEwKFthTONaQfxGbAjHvK4iG9cedHkYrzL2bwhjzJ LslQ== X-Gm-Message-State: AOAM5315C97AGJb5vo2P8RxRN7wI294QunUBvA8PFSjn88B8NnbzmETp 7tLDTOIQk9yfUwMxi5Wq47Jhjj+H3dpvAXsM X-Google-Smtp-Source: ABdhPJxnSxff9U7pze1owZ+hysD1ASi7fcqs3Te0j/q0q5t8cJpi1RrL5bjUOm4a4I1r1zsGXig/Jw== X-Received: by 2002:a62:7a0b:: with SMTP id v11mr12515766pfc.22.1643456345878; Sat, 29 Jan 2022 03:39:05 -0800 (PST) Received: from localhost ([209.95.60.92]) by smtp.gmail.com with ESMTPSA id s42sm13662934pfg.146.2022.01.29.03.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 03:39:05 -0800 (PST) From: Ihor Radchenko To: Bastien , Kyle Meyer , Nicolas Goaziou , Karl Voit , Christian Heinrich , emacs-orgmode@gnu.org Subject: [PATCH 35/35] test-ol/org-toggle-link-display: Fix compatibility with old Emacs Date: Sat, 29 Jan 2022 19:38:27 +0800 Message-Id: <5cdcf013706754506c34cb2dfe003f1ffd186eaa.1643454546.git.yantar92@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: <87y2cvloay.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.34.1" Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: Ihor Radchenko Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643461370; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0RcwoPy8WuStjYjj0DTp+ppRHKn7on3hD7YOWKK/L38=; b=HeOVeaE820mY/VB7j25YWnwvG5XcQGa5rXu3ZJPbCODFyLAgpSXo2mmqS3CoUzj/IY5odw L0J9Qf7KniD8RnlmCMY+CZmXI8THmyV486bafxvVq5Nvs9uBrYI89iOHiA/dTCh1MreDT5 dZ5Wqe01iDqSOHWkWonPoIntYCg/tjoE86keBXt9rR+ezc87BqEJjadyk5+o6bd0Hsk8c/ 285Unr5ZyRSYJ17jkfCXr3FgDZ/V7GxsVwk8Ogcgxh2ej7YNbnb9eG/u1/T/AO9bmDq9RN 1qNTDu+ABHIYObl8pFOSL4P9rlfIB3MB4rFh3jD4hrwVCE0CKEReafFmAFtArw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643461370; a=rsa-sha256; cv=none; b=Z3RY72IHhJPGhbIrwlXAeJTcVlFYA7u3yLuvHOcP77ujL389LC+CeGv2eXBPe1PwX5dNvS ++9wX//9IOcOiHVwHINiHaKGXkUT3+5Cg5k9bf4VzJ92MIlTKJ/8Rso3ByRvPNdd/b81al T1SGE/dIZjplPatXpgD73xWfzO5BVRVgyiUKoYBlDAYnV6lLOEh/1YMKLgYnYGzD4N7pKx dNA73syf0XzqHTYXA9osi3GkmswTg7nskOEqnYjbiPHoPcsNBsArtzQukUYNlt1YyfxtAM DltemvmHIMAOekbKm33IglSePXgaQB7XDQ3bIKo2h/sZRTZzBKg58Y/8kv3sfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=HJQX70jH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=HJQX70jH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 64DA0157E3 X-Spam-Score: -0.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: SvHoCq9Qkab/ This is a multi-part message in MIME format. --------------2.34.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit * testing/lisp/test-ol.el (test-ol/org-toggle-link-display): Use back-compatible `org-xor' instead of `xor'. --- testing/lisp/test-ol.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --------------2.34.1 Content-Type: text/x-patch; name="0035-test-ol-org-toggle-link-display-Fix-compatibility-wi.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0035-test-ol-org-toggle-link-display-Fix-compatibility-wi.patch" diff --git a/testing/lisp/test-ol.el b/testing/lisp/test-ol.el index 343631623..429bb52ee 100644 --- a/testing/lisp/test-ol.el +++ b/testing/lisp/test-ol.el @@ -59,19 +59,19 @@ (ert-deftest test-ol/org-toggle-link-display () (dotimes (_ 2) (goto-char 1) (re-search-forward "\\[") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "example") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "com") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "]") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (re-search-forward "\\[") (should-not (org-invisible-p)) (re-search-forward "link") (should-not (org-invisible-p)) (re-search-forward "]") - (should-not (xor org-link-descriptive (org-invisible-p))) + (should-not (org-xor org-link-descriptive (org-invisible-p))) (org-toggle-link-display))))) --------------2.34.1--