package testutil
import "github.com/docker/cli/components/engine/internal/testutil"
Index ¶
- func ErrorContains(t require.TestingT, err error, expectedError string, msgAndArgs ...interface{})
- func GenerateRandomAlphaOnlyString(n int) string
Functions ¶
func ErrorContains ¶
ErrorContains checks that the error is not nil, and contains the expected substring.
func GenerateRandomAlphaOnlyString ¶
GenerateRandomAlphaOnlyString generates an alphabetical random string with length n.
Source Files ¶
- Version
- v17.11.0-ce-rc2+incompatible
- Published
- Nov 1, 2017
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 second ago –
Tools for package owners.