added test for mzlib/etc.ss bugfix
svn: r4815
This commit is contained in:
parent
83e09ada4c
commit
d64ec0948f
|
@ -102,6 +102,10 @@
|
|||
(test 3 (rec (f x) x) 3)
|
||||
(test 2 (rec (f x) (if (= x 3) (f 2) x)) 3)
|
||||
(test 2 (rec (f x . y) (car y)) 1 2 3)
|
||||
(test 2 'no-duplications (let ([x 1]) (rec ignored (begin (set! x (+ x 1)) void)) x))
|
||||
(test 'f object-name (rec (f x) x))
|
||||
(test 'f object-name (rec (f x . y) x))
|
||||
(test 'f object-name (rec f (lambda (x) x)))
|
||||
(test (list 2) (rec (f . x) (if (= (car x) 3) (f 2) x)) 3)
|
||||
|
||||
(report-errs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user