package testutil

import "github.com/dotcloud/docker/internal/testutil"

Index

Functions

func ErrorContains

func ErrorContains(t require.TestingT, err error, expectedError string, msgAndArgs ...interface{})

ErrorContains checks that the error is not nil, and contains the expected substring.

Source Files

helpers.go

Version
v17.10.0-ce+incompatible
Published
Mar 23, 2020
Platform
js/wasm
Imports
2 packages
Last checked
3 minutes ago

Tools for package owners.