MCPcopy Create free account
hub / github.com/brimdata/super / TestURIWinFileScheme

Function TestURIWinFileScheme

pkg/storage/uri_windows_test.go:21–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19}
20
21func TestURIWinFileScheme(t *testing.T) {
22 uri, err := ParseURI("file:///c:/test/folder")
23 require.NoError(t, err)
24 assert.Equal(t, `c:\test\folder`, uri.Filepath())
25}
26
27func TestURIWinRelative(t *testing.T) {
28 cwd, err := os.Getwd()

Callers

nothing calls this directly

Calls 3

ParseURIFunction · 0.70
EqualMethod · 0.45
FilepathMethod · 0.45

Tested by

no test coverage detected