Back to godoc.org

Package testutil

v0.30.2
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/artefactual-labs/enduro

Index

type ActivityError

type ActivityError struct {
	Message        string // Text message.
	MessageWindows string // Test message specific to the Windows platform.
	NRE            bool   // Process as a NRE error.
}

ActivityError describes an error assertion, where its zero value is a non-error. Its Assert method is used to assert against a given error value.

func (ActivityError) Assert

func (ae ActivityError) Assert(t *testing.T, err error)

func (ActivityError) AssertNilError

func (ae ActivityError) AssertNilError(t *testing.T, err error)

func (ActivityError) IsZero

func (ae ActivityError) IsZero() bool

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier