tests for stripping trailing terminator by path-element->bytes
svn: r4665
This commit is contained in:
parent
cc51634826
commit
c4cc339f69
|
@ -678,6 +678,8 @@
|
||||||
(test #t relative-path? "./~")
|
(test #t relative-path? "./~")
|
||||||
(test (bytes->path #"./~") bytes->path-element #"~")
|
(test (bytes->path #"./~") bytes->path-element #"~")
|
||||||
(test #"~" path-element->bytes (bytes->path #"./~"))
|
(test #"~" path-element->bytes (bytes->path #"./~"))
|
||||||
|
(test #"~" path-element->bytes (bytes->path #"./~/"))
|
||||||
|
(test #"a" path-element->bytes (bytes->path #"a////////////"))
|
||||||
(test (bytes->path #"./~me") bytes->path-element #"~me")
|
(test (bytes->path #"./~me") bytes->path-element #"~me")
|
||||||
(test #"~me" path-element->bytes (bytes->path #"./~me"))
|
(test #"~me" path-element->bytes (bytes->path #"./~me"))
|
||||||
(err/rt-test (path-element->bytes (bytes->path #"x/y")))
|
(err/rt-test (path-element->bytes (bytes->path #"x/y")))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user