testutil

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesFromHex

func BytesFromHex(t testing.TB, s string) []byte

func ExpectFileContent added in v0.2.2

func ExpectFileContent(t *testing.T, file string, expected []byte)

func ExpectFileContentHex added in v0.2.2

func ExpectFileContentHex(t *testing.T, file string, expected string)

func ReadFile

func ReadFile(t testing.TB, s string) []byte

func SetupInsAndOuts added in v0.2.2

func SetupInsAndOuts(t *testing.T, in, out string, input []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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