MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / TestCustomFormatAndDocsURL

Function TestCustomFormatAndDocsURL

env/desc_test.go:55–61  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

53}
54
55func TestCustomFormatAndDocsURL(t *testing.T) {
56 desc := env.Int("TEST_INT").
57 WithFormat("custom integer format").
58 WithDocsURL("https://custom.docs.url")
59
60 assert.Contains(t, desc.ErrorEmpty().Error(), "custom.docs.url")
61}

Callers

nothing calls this directly

Calls 5

IntFunction · 0.92
WithDocsURLMethod · 0.80
WithFormatMethod · 0.80
ErrorEmptyMethod · 0.80
ErrorMethod · 0.65

Tested by

no test coverage detected