package output
import "github.com/docker/cli/internal/test/output"
Index ¶
- func Assert(t *testing.T, actual string, expectedLines map[int]func(string) error)
- func Contains(expected string) func(string) error
- func Equals(expected string) func(string) error
- func Prefix(expected string) func(string) error
- func Suffix(expected string) func(string) error
Functions ¶
func Assert ¶
Assert checks output lines at specified locations
func Contains ¶
Contains returns whether the line contains the specified string
func Equals ¶
Equals returns whether the line is the same as the specified string
func Prefix ¶
Prefix returns whether the line has the specified string as prefix
func Suffix ¶
Suffix returns whether the line has the specified string as suffix
Source Files ¶
- Version
- v26.1.3+incompatible
- Published
- May 16, 2024
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 27 minutes ago –
Tools for package owners.