mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-22 12:30:32 +02:00
Switch use of guile-primitive to now available funcall in test.
This commit is contained in:
parent
f3df67e203
commit
ce305387df
1 changed files with 7 additions and 7 deletions
|
@ -336,13 +336,13 @@
|
|||
(lambda ()
|
||||
(setq cnt (1+ cnt)))))
|
||||
(setq c1 (make-counter) c2 (make-counter))
|
||||
(= ((guile-primitive apply) c1 '()) 1)
|
||||
(= ((guile-primitive apply) c1 '()) 2)
|
||||
(= ((guile-primitive apply) c1 '()) 3)
|
||||
(= ((guile-primitive apply) c2 '()) 1)
|
||||
(= ((guile-primitive apply) c2 '()) 2)
|
||||
(= ((guile-primitive apply) c1 '()) 4)
|
||||
(= ((guile-primitive apply) c2 '()) 3))))
|
||||
(= (funcall c1) 1)
|
||||
(= (funcall c1) 2)
|
||||
(= (funcall c1) 3)
|
||||
(= (funcall c2) 1)
|
||||
(= (funcall c2) 2)
|
||||
(= (funcall c1) 4)
|
||||
(= (funcall c2) 3))))
|
||||
|
||||
(with-test-prefix/compile "defconst and defvar"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue