output

package
v20.10.9+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(t *testing.T, actual string, expectedLines map[int]func(string) error)

Assert checks output lines at specified locations

func Contains

func Contains(expected string) func(string) error

Contains returns whether the line contains the specified string

func Equals

func Equals(expected string) func(string) error

Equals returns whether the line is the same as the specified string

func Prefix

func Prefix(expected string) func(string) error

Prefix returns whether the line has the specified string as prefix

func Suffix

func Suffix(expected string) func(string) error

Suffix returns whether the line has the specified string as suffix

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL