should

package
v0.0.0-...-e5f9aec Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(result bool, kv ...interface{})

func AssertEqual

func AssertEqual(expected interface{}, actual interface{})

func AssertNil

func AssertNil(actual interface{})

func AssertNotNil

func AssertNotNil(actual interface{})

func Equal

func Equal(expected interface{}, actual interface{})

func JsonEqual

func JsonEqual(expected string, actual interface{})

func Nil

func Nil(actual interface{})

func NotNil

func NotNil(actual interface{})

func Panic

func Panic(f func()) (recovered interface{})

func Pass

func Pass(result bool, kv ...interface{})

Types

type ReturnValue

type ReturnValue []interface{}

func Call

func Call(f interface{}, argObjs ...interface{}) ReturnValue

func (ReturnValue) Set

func (ret ReturnValue) Set(objs ...interface{})

Jump to

Keyboard shortcuts

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