jsondiff

package
v0.0.0-...-c7dac29 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualJSON

func EqualJSON(expect string) subtest.CheckFunc

EqualJSON returns a check functions that fails if the the test value is not equivalent to the expected JSON, or if either value is not valid JSON.

func SubsetOfJSON

func SubsetOfJSON(expect string) subtest.CheckFunc

SubsetOfJSON returns a check functions that fails if the test value is not a subset of expect.

func SupersetOfJSON

func SupersetOfJSON(expect string) subtest.CheckFunc

SupersetOfJSON returns a check functions that fails if the test value is not a superset of expect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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