mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
* tests/exceptions.test (false-if-exception): Disable tests on
referencing expansion environment, reverted.
This commit is contained in:
parent
9afa7a12f2
commit
8081c3fb51
1 changed files with 19 additions and 16 deletions
|
@ -68,17 +68,20 @@
|
||||||
(pass-if (not (false-if-exception #f)))
|
(pass-if (not (false-if-exception #f)))
|
||||||
(pass-if (not (false-if-exception (error "xxx"))))
|
(pass-if (not (false-if-exception (error "xxx"))))
|
||||||
|
|
||||||
(with-test-prefix "in empty environment"
|
;; Not yet working.
|
||||||
;; an environment with no bindings at all
|
;;
|
||||||
(define empty-environment
|
;; (with-test-prefix "in empty environment"
|
||||||
(make-module 1))
|
;; ;; an environment with no bindings at all
|
||||||
|
;; (define empty-environment
|
||||||
(pass-if "#t"
|
;; (make-module 1))
|
||||||
(eval `(,false-if-exception #t)
|
;;
|
||||||
empty-environment))
|
;; (pass-if "#t"
|
||||||
(pass-if "#f"
|
;; (eval `(,false-if-exception #t)
|
||||||
(not (eval `(,false-if-exception #f)
|
;; empty-environment))
|
||||||
empty-environment)))
|
;; (pass-if "#f"
|
||||||
(pass-if "exception"
|
;; (not (eval `(,false-if-exception #f)
|
||||||
(not (eval `(,false-if-exception (,error "xxx"))
|
;; empty-environment)))
|
||||||
empty-environment)))))
|
;; (pass-if "exception"
|
||||||
|
;; (not (eval `(,false-if-exception (,error "xxx"))
|
||||||
|
;; empty-environment))))
|
||||||
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue