MCPcopy Index your code
hub / github.com/docker/docker-agent / TestParseAuthInfo_InvalidToken

Function TestParseAuthInfo_InvalidToken

cmd/root/debug_auth_test.go:60–65  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

58}
59
60func TestParseAuthInfo_InvalidToken(t *testing.T) {
61 t.Parallel()
62
63 _, err := parseAuthInfo("not-a-jwt")
64 require.Error(t, err)
65}
66
67func TestPrintAuthInfoText(t *testing.T) {
68 t.Parallel()

Callers

nothing calls this directly

Calls 2

parseAuthInfoFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected