fixed a bug where paths given directly caused modread to error
This commit is contained in:
parent
a883f5cd40
commit
b9a286f3ad
|
@ -18,7 +18,8 @@
|
|||
;; returns true if all tests passed
|
||||
(define (test-files! . paths)
|
||||
(clear-coverage!)
|
||||
(for ([p (map simplify-path paths)])
|
||||
(for ([path paths])
|
||||
(define p (path->string (simplify-path (build-path (current-directory) path))))
|
||||
(let loop ()
|
||||
(define-values (loc type) (get-module-path (build-path p)))
|
||||
(case type
|
||||
|
|
Loading…
Reference in New Issue
Block a user