(use debug test) (test "trivial example" "((x 2) (y #))\n" (with-output-to-string (lambda () (set! current-error-port current-output-port) (let ((x 2) (y (lambda x x))) (debug x y)))))