[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/buttercup 108d229 340/340: Fix property comparisons in uni
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/buttercup 108d229 340/340: Fix property comparisons in unit tests. |
Date: |
Thu, 16 Dec 2021 15:00:03 -0500 (EST) |
branch: elpa/buttercup
commit 108d2298cc34d906b196178ad955e3dc139e1779
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>
Fix property comparisons in unit tests.
Before Emacs 29, ‘equal-including-properties’ should not be used to compare
propertized strings due to
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=6581.
ERT provides a replacement ‘ert-equal-including-properties’.
---
tests/test-buttercup.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/test-buttercup.el b/tests/test-buttercup.el
index bda3e6f..4b73b78 100644
--- a/tests/test-buttercup.el
+++ b/tests/test-buttercup.el
@@ -1,6 +1,6 @@
;;; buttercup-test.el --- Tests for buttercup.el -*-lexical-binding:t-*-
-;; Copyright (C) 2015 Jorgen Schaefer <contact@jorgenschaefer.de>
+;; Copyright (C) 2015, 2021 Jorgen Schaefer <contact@jorgenschaefer.de>
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
@@ -27,6 +27,7 @@
(require 'autoload)
(require 'ansi-color)
(require 'ert)
+(require 'ert-x)
(require 'cl-lib)
(require 'imenu)
@@ -1117,7 +1118,7 @@ text properties using `ansi-color-apply'."
;;;;;;;;;;;;;
;;; Reporters
(buttercup-define-matcher-for-binary-function
- :to-equal-including-properties equal-including-properties)
+ :to-equal-including-properties ert-equal-including-properties)
(describe "The batch reporters"
:var (print-buffer)
- [nongnu] elpa/buttercup 0debeec 299/340: test: Use with-local-buttercup in more tests, (continued)
- [nongnu] elpa/buttercup 0debeec 299/340: test: Use with-local-buttercup in more tests, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b3acf50 304/340: Lift spec-started handling into buttercup-reporter-batch, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 24a7bb9 306/340: Extract buttercup-reporter-batch--print-spec-done-line, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup c9addd5 307/340: Lift spec-done handling into buttercup-reporter-batch, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup d6de872 309/340: Improve buttercup-reporter-batch--print-failed-spec-report, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 392b99c 310/340: Extend batch reporters to optionally print sparse reports, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup f6ab784 315/340: test: Test on GNU Emacs 27.1, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 4d974d2 319/340: Use correct function for --stale-file-error, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup a37d1a0 325/340: Fix compilation warning about undefined variable., ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b4e0986 333/340: Merge pull request #194 from doublep/eldev-doc, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 108d229 340/340: Fix property comparisons in unit tests.,
ELPA Syncer <=
- [nongnu] elpa/buttercup dacfacc 332/340: Recognize buttercup--mark-stackframe in buttercup--enclosed-expr, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup bd55e2b 330/340: Add stacktrace style `omit`, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup b574cb2 331/340: test: Fix byte compiler errors and warnings, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 9e1c5c9 329/340: test: Add tests for backtrace prints, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 1de6be4 339/340: Bump version: 1.23 → 1.24, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 8b3f7a0 336/340: Merge pull request #199 from wasamasa/print-args-as-sexp, ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup 3a0a58f 065/340: Test buttercup--print., ELPA Syncer, 2021/12/16
- [nongnu] elpa/buttercup e6fd5f5 096/340: Track pending specs separately, ELPA Syncer, 2021/12/16