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:
parent
bd941efb04
commit
22c1748628
1 changed files with 5 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue