test

package
v2.0.0-...-1c2efa0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 18 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

VerifyResponse compares the actual response to the expected response.

Types

type ValueType

type ValueType int

ValueType is the type of the value as an enum.

Jump to

Keyboard shortcuts

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