testwriter

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T interface {
	Helper()
	Logf(string, ...interface{})
}

T is a subset of the testing.T interface.

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

Writer writes output to the given testing.T.

func New

func New(t T) *Writer

New builds a new test Writer.

func (*Writer) Write

func (w *Writer) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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