Made test-engine react gracefully to source file names of unexpected representation.
This commit is contained in:
parent
ed4f7b7bd7
commit
3d59420133
|
@ -304,13 +304,14 @@
|
|||
(string-append
|
||||
" "
|
||||
(cond
|
||||
[(or (symbol? (src-file src))
|
||||
(is-a? (src-file src) editor<%>))
|
||||
(format (string-constant test-engine-at-line-column) line col)]
|
||||
[(path? (src-file src))
|
||||
(format (string-constant test-engine-in-at-line-column)
|
||||
(path->string (src-file src))
|
||||
line col)])))))
|
||||
line col)]
|
||||
[else
|
||||
(format (string-constant test-engine-at-line-column)
|
||||
line
|
||||
col)])))))
|
||||
|
||||
(define (highlight-check-error srcloc src-editor)
|
||||
(let* ([src-pos cadddr]
|
||||
|
|
Loading…
Reference in New Issue
Block a user