aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorAndrea Corallo2019-09-08 15:42:52 +0200
committerAndrea Corallo2020-01-01 11:37:45 +0100
commit314f9fcf6cb8a6f513022a40ee384ff0e4ca513a (patch)
tree242c421c1b3428abaded50b5075427830db3c4b9 /test/src
parent555450c7b1b1c02126bd9fc86486090fe2b829b5 (diff)
downloademacs-314f9fcf6cb8a6f513022a40ee384ff0e4ca513a.tar.gz
emacs-314f9fcf6cb8a6f513022a40ee384ff0e4ca513a.zip
uncomment back all tests
Diffstat (limited to 'test/src')
-rw-r--r--test/src/comp-test-funcs.el36
1 files changed, 18 insertions, 18 deletions
diff --git a/test/src/comp-test-funcs.el b/test/src/comp-test-funcs.el
index 609147e7e28..b92716739b9 100644
--- a/test/src/comp-test-funcs.el
+++ b/test/src/comp-test-funcs.el
@@ -89,10 +89,10 @@
89(defun comp-tests-ffuncall-apply-many-f (x) 89(defun comp-tests-ffuncall-apply-many-f (x)
90 (apply #'list x)) 90 (apply #'list x))
91 91
92;; (defun comp-tests-ffuncall-lambda-f (x) 92(defun comp-tests-ffuncall-lambda-f (x)
93;; (let ((fun (lambda (x) 93 (let ((fun (lambda (x)
94;; (1+ x)))) 94 (1+ x))))
95;; (funcall fun x))) 95 (funcall fun x)))
96 96
97(defun comp-tests-jump-table-1-f (x) 97(defun comp-tests-jump-table-1-f (x)
98 (pcase x 98 (pcase x
@@ -211,10 +211,10 @@
211(defun comp-tests-throw-f (x) 211(defun comp-tests-throw-f (x)
212 (throw 'foo x)) 212 (throw 'foo x))
213 213
214;; (defun comp-tests-buff0-f () 214(defun comp-tests-buff0-f ()
215;; (with-temp-buffer 215 (with-temp-buffer
216;; (insert "foo") 216 (insert "foo")
217;; (buffer-string))) 217 (buffer-string)))
218 218
219(defun comp-tests-lambda-return-f () 219(defun comp-tests-lambda-return-f ()
220 (lambda (x) (1+ x))) 220 (lambda (x) (1+ x)))
@@ -319,15 +319,15 @@
319(defun comp-test-opt (a &optional b) 319(defun comp-test-opt (a &optional b)
320 (cons a b)) 320 (cons a b))
321 321
322;; ;; Test for unwind-protect. 322;; Test for unwind-protect.
323;; (defvar comp-test-up-val nil) 323(defvar comp-test-up-val nil)
324;; (defun comp-test-unwind-protect (fun) 324(defun comp-test-unwind-protect (fun)
325;; (setq comp-test-up-val nil) 325 (setq comp-test-up-val nil)
326;; (unwind-protect 326 (unwind-protect
327;; (progn 327 (progn
328;; (setq comp-test-up-val 23) 328 (setq comp-test-up-val 23)
329;; (funcall fun) 329 (funcall fun)
330;; (setq comp-test-up-val 24)) 330 (setq comp-test-up-val 24))
331;; (setq comp-test-up-val 999))) 331 (setq comp-test-up-val 999)))
332 332
333;;; comp-test-funcs.el ends here 333;;; comp-test-funcs.el ends here