aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Corallo2024-02-15 17:48:43 +0100
committerAndrea Corallo2024-02-15 17:48:43 +0100
commit4a0d430bdc3650ca3dfd8bdd14781764fbcbdc7e (patch)
tree9fcd36329a34bb0c14b822f9a7c9353350d71d37
parentaa849984896ce393afe92dd4fb7fbce494e131a4 (diff)
downloademacs-4a0d430bdc3650ca3dfd8bdd14781764fbcbdc7e.tar.gz
emacs-4a0d430bdc3650ca3dfd8bdd14781764fbcbdc7e.zip
Update some native comp tests
* test/src/comp-tests.el (comp-tests-ret-type-spec-13) (comp-tests-ret-type-spec-35): Update. * test/lisp/emacs-lisp/comp-cstr-tests.el (comp-cstr-test-62) (comp-cstr-test-75): Likewise.
-rw-r--r--test/lisp/emacs-lisp/comp-cstr-tests.el4
-rw-r--r--test/src/comp-tests.el4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/lisp/emacs-lisp/comp-cstr-tests.el b/test/lisp/emacs-lisp/comp-cstr-tests.el
index edc70b12d4b..c3a7092819d 100644
--- a/test/lisp/emacs-lisp/comp-cstr-tests.el
+++ b/test/lisp/emacs-lisp/comp-cstr-tests.el
@@ -170,7 +170,7 @@ The arg is an alist of: type specifier -> expected type specifier."
170 ;; 61 170 ;; 61
171 ((and atom (not symbol)) . atom) 171 ((and atom (not symbol)) . atom)
172 ;; 62 172 ;; 62
173 ((and atom (not string)) . (or array sequence atom)) 173 ((and atom (not string)) . (or array atom))
174 ;; 63 Conservative 174 ;; 63 Conservative
175 ((and symbol (not (member foo))) . symbol) 175 ((and symbol (not (member foo))) . symbol)
176 ;; 64 Conservative 176 ;; 64 Conservative
@@ -196,7 +196,7 @@ The arg is an alist of: type specifier -> expected type specifier."
196 ;; 74 196 ;; 74
197 ((and boolean (or number marker)) . nil) 197 ((and boolean (or number marker)) . nil)
198 ;; 75 198 ;; 75
199 ((and atom (or number marker)) . number-or-marker) 199 ((and atom (or number marker)) . (or integer-or-marker number-or-marker))
200 ;; 76 200 ;; 76
201 ((and symbol (or number marker)) . nil) 201 ((and symbol (or number marker)) . nil)
202 ;; 77 202 ;; 77
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index 54a9a6c11cc..8bfe939fb23 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -1022,7 +1022,7 @@ Return a list of results."
1022 (if (= x y) 1022 (if (= x y)
1023 x 1023 x
1024 'foo)) 1024 'foo))
1025 '(or (member foo) number-or-marker)) 1025 '(or (member foo) number-or-marker integer-or-marker))
1026 1026
1027 ;; 14 1027 ;; 14
1028 ((defun comp-tests-ret-type-spec-f (x) 1028 ((defun comp-tests-ret-type-spec-f (x)
@@ -1162,7 +1162,7 @@ Return a list of results."
1162 ((defun comp-tests-ret-type-spec-f (x) 1162 ((defun comp-tests-ret-type-spec-f (x)
1163 (when (> x 1.0) 1163 (when (> x 1.0)
1164 x)) 1164 x))
1165 '(or null number-or-marker)) 1165 '(or null number-or-marker integer-or-marker))
1166 1166
1167 ;; 36 1167 ;; 36
1168 ((defun comp-tests-ret-type-spec-f (x y) 1168 ((defun comp-tests-ret-type-spec-f (x y)