1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-23 04:50:28 +02:00

Switch use of guile-primitive to now available funcall in test.

This commit is contained in:
Daniel Kraft 2009-07-30 13:54:07 +02:00
parent f3df67e203
commit ce305387df

View file

@ -336,13 +336,13 @@
(lambda () (lambda ()
(setq cnt (1+ cnt))))) (setq cnt (1+ cnt)))))
(setq c1 (make-counter) c2 (make-counter)) (setq c1 (make-counter) c2 (make-counter))
(= ((guile-primitive apply) c1 '()) 1) (= (funcall c1) 1)
(= ((guile-primitive apply) c1 '()) 2) (= (funcall c1) 2)
(= ((guile-primitive apply) c1 '()) 3) (= (funcall c1) 3)
(= ((guile-primitive apply) c2 '()) 1) (= (funcall c2) 1)
(= ((guile-primitive apply) c2 '()) 2) (= (funcall c2) 2)
(= ((guile-primitive apply) c1 '()) 4) (= (funcall c1) 4)
(= ((guile-primitive apply) c2 '()) 3)))) (= (funcall c2) 3))))
(with-test-prefix/compile "defconst and defvar" (with-test-prefix/compile "defconst and defvar"