We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e679a49 commit 2dbb655Copy full SHA for 2dbb655
test/test_uri.jl
@@ -4,4 +4,6 @@ using FilePaths
4
@testset "URI" begin
5
@test string(URI(p"/foo/bar")) == "file:///foo/bar"
6
@test string(URI(p"/foo foo/bar")) == "file:///foo%20foo/bar"
7
+ @test_throws ArgumentError URI(p"foo/bar")
8
+ @test string(URI(WindowsPath("C:\\foo\\bar"))) == "file:///C:/foo/bar"
9
end
0 commit comments