dsl

package
v0.18.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreError

func IgnoreError(vals ...interface{})

IgnoreError acknowledges that an error value is being intentionally disregarded.

In general, errors should not be ignored, however, errors may be unimportant in certain test scenarios. IgnoreError accepts a variable-length argument list, like Expect(), as a convenience for functions returning values and an error, e.g. `func DoSomething() (string, error)`. IgnoreError will fail the current test if the last argument is neither nil nor a non-nil error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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