testutil

package
v0.4.0-beta.47 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertLines

func AssertLines(t *testing.T, expected string, actual string) bool

func NewTestLogger

func NewTestLogger(t *testing.T) *log.Logger

Types

type TestWriter

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

func NewTestWriter

func NewTestWriter(t *testing.T) TestWriter

func (TestWriter) Write

func (tw TestWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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