xtesting

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: MIT Imports: 6 Imported by: 0

README

xtesting

Functions
  • Equal(t *testing.T, val1, val2 interface{})
  • NotEqual(t *testing.T, val1, val2 interface{})
  • Nil(t *testing.T, val interface{})
  • NotNil(t *testing.T, val interface{})
  • True(t *testing.T, val bool)
  • False(t *testing.T, val bool)
  • EqualSlice(t *testing.T, val1, val2 []interface{})
  • MatchRegex(t *testing.T, value string, regex *regexp.Regexp)
  • NotMatchRegex(t *testing.T, value string, regex *regexp.Regexp)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, val1, val2 interface{})

func EqualSlice

func EqualSlice(t *testing.T, val1, val2 []interface{})

func False added in v1.3.4

func False(t *testing.T, val bool)

func MatchRegex

func MatchRegex(t *testing.T, value string, regex *regexp.Regexp)

func Nil added in v1.3.2

func Nil(t *testing.T, val interface{})

func NotEqual

func NotEqual(t *testing.T, val1, val2 interface{})

func NotMatchRegex

func NotMatchRegex(t *testing.T, value string, regex *regexp.Regexp)

func NotNil added in v1.3.2

func NotNil(t *testing.T, val interface{})

func True added in v1.3.4

func True(t *testing.T, val bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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