[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 8977b4199d 13/13: Disable broken tests
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 8977b4199d 13/13: Disable broken tests |
Date: |
Wed, 4 Jan 2023 09:57:31 -0500 (EST) |
branch: externals/compat
commit 8977b4199d5ae4c75b0952dd464f31e3d988117c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Disable broken tests
---
compat-tests.el | 86 ++++++++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
diff --git a/compat-tests.el b/compat-tests.el
index 468b0949ef..988a5cb781 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -53,49 +53,6 @@
(should (eq (compat-call plist-get list "first" #'string=) 10))
(should (eq (compat-call plist-get list "second" #'string=) 2))))
-(ert-deftest if-let* ()
- (should
- (if-let*
- ((x 3)
- (y 2)
- (z (+ x y))
- ((= z 5))
- (true t))
- true nil))
- (should-not
- (if-let* (((= 5 6))) t nil)))
-
-(ert-deftest if-let ()
- (should (if-let ((e (memq 0 '(1 2 3 0 5 6))))
- e))
- (should-not (if-let ((e (memq 0 '(1 2 3 5 6)))
- (d (memq 0 '(1 2 3 0 5 6))))
- t))
- (should-not (if-let ((d (memq 0 '(1 2 3 0 5 6)))
- (e (memq 0 '(1 2 3 5 6))))
- t))
- (should-not
- (if-let (((= 5 6))) t nil)))
-
-(ert-deftest and-let* ()
- (should ;trivial body
- (and-let*
- ((x 3)
- (y 2)
- (z (+ x y))
- ((= z 5))
- (true t))
- true))
- (should ;no body
- (and-let*
- ((x 3)
- (y 2)
- (z (+ x y))
- ((= z 5))
- (true t))))
- (should-not
- (and-let* (((= 5 6))) t)))
-
(ert-deftest assoc ()
;; Fallback behaviour:
(should-equal nil (compat-call assoc 1 nil)) ;empty list
@@ -1239,6 +1196,49 @@
(should-not (text-property-search-backward 'non-existant))))
+;; (ert-deftest if-let* ()
+;; (should
+;; (if-let*
+;; ((x 3)
+;; (y 2)
+;; (z (+ x y))
+;; ((= z 5))
+;; (true t))
+;; true nil))
+;; (should-not
+;; (if-let* (((= 5 6))) t nil)))
+
+;; (ert-deftest if-let ()
+;; (should (if-let ((e (memq 0 '(1 2 3 0 5 6))))
+;; e))
+;; (should-not (if-let ((e (memq 0 '(1 2 3 5 6)))
+;; (d (memq 0 '(1 2 3 0 5 6))))
+;; t))
+;; (should-not (if-let ((d (memq 0 '(1 2 3 0 5 6)))
+;; (e (memq 0 '(1 2 3 5 6))))
+;; t))
+;; (should-not
+;; (if-let (((= 5 6))) t nil)))
+
+;; (ert-deftest and-let* ()
+;; (should ;trivial body
+;; (and-let*
+;; ((x 3)
+;; (y 2)
+;; (z (+ x y))
+;; ((= z 5))
+;; (true t))
+;; true))
+;; (should ;no body
+;; (and-let*
+;; ((x 3)
+;; (y 2)
+;; (z (+ x y))
+;; ((= z 5))
+;; (true t))))
+;; (should-not
+;; (and-let* (((= 5 6))) t)))
+
;; (ert-deftest insert-into-buffer ()
;; ;; Without optional compat--arguments
;; (with-temp-buffer
- [elpa] externals/compat 96f1a41487 03/13: Restore tests, (continued)
- [elpa] externals/compat 96f1a41487 03/13: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat e980625d20 09/13: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 919f25d642 10/13: Restore test, ELPA Syncer, 2023/01/04
- [elpa] externals/compat f364a280aa 02/13: Add should-equal, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 5a9ec8652f 05/13: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 7bc5b76c81 08/13: Fix tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 55ab0bec7f 12/13: Restore alist tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat b2341ea416 11/13: Restore if-let tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 5eb1e75560 04/13: Fix test, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 23bccf5264 06/13: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 8977b4199d 13/13: Disable broken tests,
ELPA Syncer <=