MCPcopy
hub / github.com/mxpv/podsync / TestParseVimeoURL_InvalidLink

Function TestParseVimeoURL_InvalidLink

pkg/builder/url_test.go:106–114  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

104}
105
106func TestParseVimeoURL_InvalidLink(t *testing.T) {
107 link, _ := url.ParseRequestURI("http://www.apple.com")
108 _, _, err := parseVimeoURL(link)
109 require.Error(t, err)
110
111 link, _ = url.ParseRequestURI("http://www.vimeo.com")
112 _, _, err = parseVimeoURL(link)
113 require.Error(t, err)
114}

Callers

nothing calls this directly

Calls 1

parseVimeoURLFunction · 0.85

Tested by

no test coverage detected