MCPcopy Create free account
hub / github.com/PuerkitoBio/fetchbot / mustCmd

Function mustCmd

cmd_test.go:394–399  ·  view source on GitHub ↗
(cmd Command, err error)

Source from the content-addressed store, hash-verified

392}
393
394func mustCmd(cmd Command, err error) Command {
395 if err != nil {
396 panic(err)
397 }
398 return cmd
399}
400
401func mustParse(t *testing.T, raw string) *url.URL {
402 parsed, err := url.Parse(raw)

Callers 1

TestHandlerCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected