testutil

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustReadFileString

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

func MustUnmarshalTextproto

func MustUnmarshalTextproto[T proto.Message](t *testing.T, data string, m T) T

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