Path normalize: Add test for server path (//)
This commit is contained in:
parent
6298b1516e
commit
439a1b373d
@ -714,3 +714,8 @@
|
||||
test.isequal("d:/test/..test/.test", path.normalize("d:/test/..test/test/../.test"))
|
||||
test.isequal("d:/test", path.normalize("d:/test/..test/../.test/.."))
|
||||
end
|
||||
|
||||
function suite.normalize_serverpath()
|
||||
test.isequal("//myawesomeserver/test", path.normalize("//myawesomeserver/test/"))
|
||||
test.isequal("//myawesomeserver/test", path.normalize("///myawesomeserver/test/"))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user