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
- v28.1.1+incompatible (latest)
- Published
- Apr 18, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 50 minutes ago –
Tools for package owners.