Ignore this PR (#2189)
Fix bug in serialize test / -> root dir On windows `/` isn't enough to make a complete path.
This commit is contained in:
parent
0b9a7587f6
commit
cb0d79a8ae
|
@ -724,7 +724,7 @@
|
||||||
|
|
||||||
;; ----------------------------------------
|
;; ----------------------------------------
|
||||||
|
|
||||||
(let ()
|
(let ([root (car (filesystem-root-list))])
|
||||||
(define (test-relative data rel)
|
(define (test-relative data rel)
|
||||||
(test
|
(test
|
||||||
'right-error
|
'right-error
|
||||||
|
@ -740,9 +740,9 @@
|
||||||
(serialize data
|
(serialize data
|
||||||
#:relative-directory rel))))
|
#:relative-directory rel))))
|
||||||
|
|
||||||
(test-relative (string->path "/x") (cons "/x" "/x/y"))
|
(test-relative (build-path root "x") (cons (build-path root "x") (build-path root "x" "y")))
|
||||||
|
|
||||||
(test-relative (string->path "/x") (cons "/x/z" "/x/y")))
|
(test-relative (build-path root "x") (cons (build-path root "x" "z") (build-path root "x" "y"))))
|
||||||
|
|
||||||
;; ----------------------------------------
|
;; ----------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user