test

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualJson2

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

func VerifyResponse(expectedFile string, actual string) error

Types

type ValueType

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