godartsasstesting

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsTest bool

IsTest reports whether we're running as a test.

Functions

This section is empty.

Types

type PanicWhen

type PanicWhen uint8
const (
	// Used in tests.
	ShouldPanicInNewCall PanicWhen = 1 << iota
	ShouldPanicInSendInbound1
	ShouldPanicInSendInbound2
)

func (PanicWhen) Has

func (p PanicWhen) Has(flag PanicWhen) bool

func (PanicWhen) Set

func (p PanicWhen) Set(flag PanicWhen) PanicWhen

Jump to

Keyboard shortcuts

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