Documentation ¶
Index ¶
- func Dedent(x string) string
- func IsYAMLEqual(assert *assert.Assertions, expected, actual interface{}) bool
- func IsYAMLEqualString(assert *assert.Assertions, expected string, actual interface{}) bool
- func IsYAMLSubset(assert *assert.Assertions, expected, actual interface{}) bool
- func IsYAMLSubsetString(assert *assert.Assertions, expected string, actual interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsYAMLEqual ¶
func IsYAMLEqual(assert *assert.Assertions, expected, actual interface{}) bool
IsYAMLEqual asserts that all items in the expected properties are in the actual properties, and vice versa.
func IsYAMLEqualString ¶
func IsYAMLEqualString(assert *assert.Assertions, expected string, actual interface{}) bool
IsYAMLEqualString asserts that all items in the expected properties are in the actual properties, and vice versa. The expected properties are specified as YAML string. Go-specific indentation in the string (tabs) is replaced with proper YAML indentation.
func IsYAMLSubset ¶
func IsYAMLSubset(assert *assert.Assertions, expected, actual interface{}) bool
IsYAMLSubset asserts that all items in the expected properties are in the actual properties. Note, the actual properties may contain more than expected.
func IsYAMLSubsetString ¶
func IsYAMLSubsetString(assert *assert.Assertions, expected string, actual interface{}) bool
IsYAMLSubsetString asserts that all items in the expected properties are in the actual properties. Note, the actual properties may contain more than expected. The expected properties are specified as YAML string. Go-specific indentation in the string (tabs) is replaced with proper YAML indentation.
Types ¶
This section is empty.