test

package
v0.0.0-...-8c31608 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTests

func RunTests(t *testing.T, tts []TestCases)

Types

type TestCases

type TestCases struct {
	Name      string
	Want      interface{}
	Got       interface{}
	RegexRule *regexp.Regexp
	TestType  TestType
}

type TestType

type TestType int
const (
	Equal TestType = iota
	Nil
	Regex
)

Jump to

Keyboard shortcuts

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