1
0
Fork 0
mirror of https://github.com/laravel-ls/uri synced 2026-06-16 01:54:57 +02:00

uri_test.go: test windows file

This commit is contained in:
Henrik Hautakoski 2025-06-20 10:01:56 +02:00
parent bd941efb04
commit 22c1748628

View file

@ -53,6 +53,11 @@ func TestParse(t *testing.T) {
s: "file://code.visualstudio.com/docs/extensions/overview.md",
want: URI(FileScheme + hierPart + "/docs/extensions/overview.md"),
},
{
name: "ValidWindowFileScheme",
s: "file:///d:/vscode/docs/extensions/overview.md",
want: URI(FileScheme + hierPart + "/d:/vscode/docs/extensions/overview.md"),
},
{
name: "ValidHTTPScheme",
s: "http://code.visualstudio.com/docs/extensions/overview#frag",