utility

package
v0.0.0-...-2b4e420 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InputPathEnv  = "INPUT_PATH"
	OutputPathEnv = "OUTPUT_PATH"
)

Variables

View Source
var ErrTestPanicMock = errors.New("mock panic")

Functions

func CheckError

func CheckError(err error)

Types

type TestCase

type TestCase struct {
	In  string
	Out string

	Input    string
	Output   string
	Expected string
}

func (*TestCase) RunTest

func (test *TestCase) RunTest(t *testing.T, run func())

Jump to

Keyboard shortcuts

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