SpringTest

package module
v0.0.0-...-779b0a9 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

go-spring-test

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(t *testing.T, v1 interface{}, v2 interface{})

Diff 比较任意两个变量的内容是否相同

func DiffArray

func DiffArray(t *testing.T, v1 []interface{}, v2 []interface{})

DiffArray 比较两个数组的内容是否相同,顺序也必须相同

func DiffMap

func DiffMap(t *testing.T, v1 map[string]interface{}, v2 map[string]interface{})

DiffMap 比较两个 map 的内容是否相同

func DiffMapArray

func DiffMapArray(t *testing.T, v1 []map[string]interface{}, v2 []map[string]interface{})

DiffMapArray 比较两个 map 数组的内容是否相同,顺序也必须相同

Types

This section is empty.

Jump to

Keyboard shortcuts

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