removing test-error cases that would trigger a compile-time error in chicken

This commit is contained in:
Alex Shinn 2016-03-19 15:40:00 +09:00
parent 2e0aa1b36d
commit 3dcac282ad

View file

@ -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")))