Path normalize: Add test for server path (//)

This commit is contained in:
tdesveaux 2018-08-12 15:17:20 +02:00
parent 6298b1516e
commit 439a1b373d

View File

@ -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