]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Update some native comp tests"
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Mar 2024 16:19:08 +0000 (11:19 -0500)
committerEshel Yaron <me@eshelyaron.com>
Tue, 5 Mar 2024 15:34:21 +0000 (16:34 +0100)
This reverts commit 4a0d430bdc3650ca3dfd8bdd14781764fbcbdc7e.

AFAICT that commit was made to accomodate regressions introduced
in the new `cl-preloaded.el` code and these have been fixed.

(cherry picked from commit 94632c611e6ba5607a1039a8939d5ab173ee5bfb)

test/lisp/emacs-lisp/comp-cstr-tests.el
test/src/comp-tests.el

index 955a99ced57b45b514ac6a45b8ecae28ee70fee3..991ab1f40ebfbfe86d2cb893ec148b633dfe3472 100644 (file)
@@ -196,7 +196,7 @@ The arg is an alist of: type specifier -> expected type specifier."
   ;; 74
   ((and boolean (or number marker)) . nil)
   ;; 75
-  ((and atom (or number marker)) . (or integer-or-marker number-or-marker))
+  ((and atom (or number marker)) . number-or-marker)
   ;; 76
   ((and symbol (or number marker)) . nil)
   ;; 77
index 67d632823b2263708fee9bed39686400bbcef981..fbcb6ca95604c910105d53de148813c979aba9c3 100644 (file)
@@ -1029,7 +1029,7 @@ Return a list of results."
          (if (= x y)
              x
            'foo))
-       '(or (member foo) number-or-marker integer-or-marker))
+       '(or (member foo) number-or-marker))
 
       ;; 14
       ((defun comp-tests-ret-type-spec-f (x)
@@ -1169,7 +1169,7 @@ Return a list of results."
       ((defun comp-tests-ret-type-spec-f (x)
         (when (> x 1.0)
           x))
-       '(or null number-or-marker integer-or-marker))
+       '(or null number-or-marker))
 
       ;; 36
       ((defun comp-tests-ret-type-spec-f (x y)