trying to fight runtime errors

This commit is contained in:
Danny Yoo 2012-10-23 17:53:44 -06:00
parent 433a73aefa
commit 6cb8309ea0

View File

@ -105,10 +105,12 @@
[(_ original-source-file-path original-expected-file-path)
(with-syntax ([stx stx]
[source-file-path (parameterize ([current-directory
(current-load-relative-directory)])
(or (current-load-relative-directory)
(current-directory))])
(normalize-path (syntax-e #'original-source-file-path)))]
[expected-file-path (parameterize ([current-directory
(current-load-relative-directory)])
(or (current-load-relative-directory)
(current-directory))])
(normalize-path (syntax-e #'original-expected-file-path)))])
(quasisyntax/loc #'stx
(test/loc original-source-file-path source-file-path