test

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualJson2 added in v1.6.0

func EqualJson2(j1, j2 string) (err error)

EqualJson2 compares two json strings. returns true if considered equal, false otherwise. The error returns the difference. For reference: j1 is the baseline, j2 is the test

func VerifyResponse added in v1.6.0

func VerifyResponse(expectedFile string, actual string) error

Types

type ValueType added in v1.6.0

type ValueType int
const (
	OBJECT ValueType = iota
	ARRAY
	VALUE
	NUMBER
	BOOL
	STRING
	MISSING
)

Jump to

Keyboard shortcuts

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