assert

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package assert provides the functionality to check the correctness of the output of a command line function

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CMDOutputContains

func CMDOutputContains(t *testing.T, main func(), command, expected string)

CMDOutputContains is a testing utility that verifies whether the output produced by the main function executed with a specific command contains an expected string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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