testutil

package
v0.0.0-...-fffdf24 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFile

func LoadFile(t *testing.T, name string) *os.File

LoadFile loads given test data into *os.File

func LoadJSON

func LoadJSON(t *testing.T, name string) interface{}

LoadJSON loads given test data into JSON interface{}

func LoadString

func LoadString(t *testing.T, name string) string

LoadString loads given test data into string

Types

This section is empty.

Jump to

Keyboard shortcuts

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