testyaml

package
v1.88.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertFileContentsMatchValue

func AssertFileContentsMatchValue(t *testing.T, expectedFilePath string, actualValue interface{})

func SplitYAML

func SplitYAML(t *testing.T, yamlBytes []byte) [][]byte

func UnmarshalFile

func UnmarshalFile(t *testing.T, filePath string, value interface{})

func WriteFile

func WriteFile(t *testing.T, yamlBytes []byte, filePath string)

func WriteValueToFile

func WriteValueToFile(t *testing.T, value interface{}, filePath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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