testutil

package
v0.0.0-...-7fb09d6 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmpSortInt64Slices = cmpopts.SortSlices(func(a, b int64) bool {
	return a < b
})

Functions

func MustLstat

func MustLstat(t *testing.T, path string) os.FileInfo

func MustNotExist

func MustNotExist(t *testing.T, path string)

func MustReadFileString

func MustReadFileString(t *testing.T, path string) string

func MustWriteFile

func MustWriteFile(t *testing.T, path string, content []byte) string

func MustWriteFileString

func MustWriteFileString(t *testing.T, path string, content string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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