test

package
v0.107.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeHexString

func DecodeHexString(hexData string) []byte

DecodeHexString is a helper function for tests that decodes hex strings. It doesn't return an error value, which makes it usable inline.

func JsonStringsEqual added in v0.46.0

func JsonStringsEqual(jsonData1 []byte, jsonData2 []byte) bool

JsonStringsEqual is a helper function for tests that compares JSON strings. To account for differences in whitespace, map key ordering, etc., we unmarshal the JSON strings into objects and then compare the objects

Types

This section is empty.

Jump to

Keyboard shortcuts

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