svcattest

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext

func NewContext(outputCapture io.Writer, fakeApp *svcat.App) *command.Context

NewContext creates a test context for the svcat cli, optionally capturing the command output, or injecting a fake set of clients.

func OutputMatches

func OutputMatches(gotOutput string, wantOutput string, allowDifferentLineOrder bool) bool

OutputMatches compares expected output, optionally allowing for different line ordering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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