internal

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const CallersLen = 32 // TODO What is a reasonable len?

Variables

This section is empty.

Functions

func TestTestLoc

func TestTestLoc(t *testing.T)

Types

type Error

type Error struct {
	Err error
	PCs []uintptr
}

func Wrap

func Wrap(err error, skip int) Error

func (Error) Error

func (err Error) Error() string

type TestLoc

type TestLoc struct {
	File string
	Line int
}

func NewTestLoc

func NewTestLoc() TestLoc

func (TestLoc) ErrorShallContain

func (tl TestLoc) ErrorShallContain(t testing.TB, offset int, err error)

func (TestLoc) FileBase

func (tl TestLoc) FileBase() string

func (TestLoc) ShallContain

func (tl TestLoc) ShallContain(t testing.TB, offset int, s string)

Jump to

Keyboard shortcuts

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