package testutil
import "github.com/docker/cli/components/engine/internal/testutil"
Index ¶
- Variables
- func ErrorContains(t require.TestingT, err error, expectedError string, msgAndArgs ...interface{})
- func GenerateRandomAlphaOnlyString(n int) string
Variables ¶
DevZero acts like /dev/zero but in an OS-independent fashion.
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.12.0-ce+incompatible
- Published
- Dec 27, 2017
- Platform
- windows/amd64
- Imports
- 4 packages
- Last checked
- 32 minutes ago –
Tools for package owners.