Yaml

Asserting Yaml Documents

Assertions

GoDoc

All links point to https://pkg.go.dev/github.com/go-openapi/testify/v2

This domain exposes 1 functionalities.

YAMLEq

YAMLEq asserts that the first documents in the two YAML strings are equivalent.

Examples
	expected := `---
	key: value
	---
	key: this is a second document, it is not evaluated
	`
	actual := `---
	key: value
	---
	key: this is a subsequent document, it is not evaluated
	`
	assertions.YAMLEq(t, expected, actual)
	panic: "key: value", "key: value"
	should panic without the yaml feature enabled.


Generated with github.com/go-openapi/testify/v2/codegen