Don't report missing test source for the pathological case of testing the literal #f.

This commit is contained in:
Alex Shinn 2014-07-23 20:09:09 +09:00
parent 76501b602f
commit 455c8debce

View file

@ -322,9 +322,9 @@
(assq-ref info 'gen-name)
(let ((name
(cond
((assq-ref info 'source)
((assq 'source info)
=> (lambda (src)
(truncate-source src (- (current-column-width) 12))))
(truncate-source (cdr src) (- (current-column-width) 12))))
((current-test-group)
=> (lambda (g)
(display "no source in: " (current-error-port))