mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
removing test-error cases that would trigger a compile-time error in chicken
This commit is contained in:
parent
2e0aa1b36d
commit
3dcac282ad
1 changed files with 4 additions and 4 deletions
|
@ -38,16 +38,16 @@
|
||||||
((test-escape-procedure p s)
|
((test-escape-procedure p s)
|
||||||
(begin
|
(begin
|
||||||
(test-assert (procedure? p))
|
(test-assert (procedure? p))
|
||||||
(test-error (p #f))
|
;;(test-error (p #f))
|
||||||
(test s (p))))))
|
(test s (p))))))
|
||||||
(define-syntax test-wrap-procedure
|
(define-syntax test-wrap-procedure
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((test-wrap-procedure p s)
|
((test-wrap-procedure p s)
|
||||||
(begin
|
(begin
|
||||||
(test-assert (procedure? p))
|
(test-assert (procedure? p))
|
||||||
(test-error (p))
|
;; (test-error (p))
|
||||||
(test-error (p #f))
|
;; (test-error (p #f))
|
||||||
(test-error (p "" #f))
|
;; (test-error (p "" #f))
|
||||||
(test (p "FOO")
|
(test (p "FOO")
|
||||||
"FOO"
|
"FOO"
|
||||||
(parameterize ((ansi-escapes-enabled? #f)) (p "FOO")))
|
(parameterize ((ansi-escapes-enabled? #f)) (p "FOO")))
|
||||||
|
|
Loading…
Add table
Reference in a new issue