;;;; condition-utils-test.scm -*- Scheme -*- ;;;; Kon Lovett, Jul '18 (import test) (import (only (chicken format) format) (test-utils gloss)) (cond-expand (compiling (print) (print #<\t (let ((chn (get-call-chain 1))) (set! testcc (make-exn-condition+ (quote test) \"test\" (quote (test))... \t\t (##core#let ((chn (get-call-chain 1))) (set! testcc (make-exn-condition+ (quote test) \"test\" (quote ... \t\t (##core#begin (##core#set! testcc (make-exn-condition+ (quote test) \"test\" (quote (test)) chn (quote... \t\t (##core#set! testcc (make-exn-condition+ (quote test) \"test\" (quote (test)) chn (quote misc) (quote ... \t\t (make-exn-condition+ (quote test) \"test\" (quote (test)) chn (quote misc) (quote (extra test 23))) \t\t (quote test) \t\t (##core#quote test) \t\t (quote (test)) \t\t (##core#quote (test)) \t\t (quote misc) \t\t (##core#quote misc) \t\t (quote (extra test 23)) \t\t (##core#quote (extra test 23)) \t\t (get-call-chain 1) \t\t (get-call-chain 1)\t<-- " ) ) (with-output-to-string (lambda () (write-exn-condition testcc)))) |# (test-assert "writes exn-condition" (with-output-to-string (lambda () (write-exn-condition testcc)))) ;;; (test-end "Condition Utils") (test-exit)