testutils

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertJSONEqual added in v0.0.7

func AssertJSONEqual(t *testing.T, expected proto.Message, actualData proto.Message)

func CreateConfigValueAndAssertOk

func CreateConfigValueAndAssertOk(t *testing.T, value any) *prefabProto.ConfigValue

func SortedJSON added in v0.0.7

func SortedJSON(message proto.Message) (string, error)

Marshal and sort both keys and arrays in the JSON output

Types

This section is empty.

Jump to

Keyboard shortcuts

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