aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/cconv-tests.el17
1 files changed, 12 insertions, 5 deletions
diff --git a/test/lisp/emacs-lisp/cconv-tests.el b/test/lisp/emacs-lisp/cconv-tests.el
index 37470f863f3..e666fe0a4c2 100644
--- a/test/lisp/emacs-lisp/cconv-tests.el
+++ b/test/lisp/emacs-lisp/cconv-tests.el
@@ -351,11 +351,18 @@
351 (let ((f (let ((d 51695)) 351 (let ((f (let ((d 51695))
352 (lambda (data) 352 (lambda (data)
353 (interactive (progn (setq d (1+ d)) (list d))) 353 (interactive (progn (setq d (1+ d)) (list d)))
354 (list (called-interactively-p 'any) data))))) 354 (list (called-interactively-p 'any) data))))
355 (should (equal (list (call-interactively f) 355 (f-interp
356 (funcall f 51695) 356 (eval '(let ((d 51695))
357 (call-interactively f)) 357 (lambda (data)
358 '((t 51696) (nil 51695) (t 51697)))))) 358 (interactive (progn (setq d (1+ d)) (list d)))
359 (list (called-interactively-p 'any) data)))
360 t)))
361 (dolist (f (list f f-interp))
362 (should (equal (list (call-interactively f)
363 (funcall f 51695)
364 (call-interactively f))
365 '((t 51696) (nil 51695) (t 51697)))))))
359 366
360(provide 'cconv-tests) 367(provide 'cconv-tests)
361;;; cconv-tests.el ends here 368;;; cconv-tests.el ends here