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

Function TestReadFileForInline_NotFound

pkg/chat/chat_test.go:159–163  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

157}
158
159func TestReadFileForInline_NotFound(t *testing.T) {
160 t.Parallel()
161 _, err := ReadFileForInline("/nonexistent/file.txt")
162 assert.Error(t, err)
163}
164
165func TestDetectMimeType_ContentSniffing(t *testing.T) {
166 t.Parallel()

Callers

nothing calls this directly

Calls 2

ReadFileForInlineFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected