MCPcopy Create free account
hub / github.com/stretchr/testify / YAMLEqf

Function YAMLEqf

assert/assertion_format.go:828–833  ·  view source on GitHub ↗

YAMLEqf asserts that two YAML strings are equivalent.

(t TestingT, expected string, actual string, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

826
827// YAMLEqf asserts that two YAML strings are equivalent.
828func YAMLEqf(t TestingT, expected string, actual string, msg string, args ...interface{}) bool {
829 if h, ok := t.(tHelper); ok {
830 h.Helper()
831 }
832 return YAMLEq(t, expected, actual, append([]interface{}{msg}, args...)...)
833}
834
835// Zerof asserts that i is the zero value for its type.
836func Zerof(t TestingT, i interface{}, msg string, args ...interface{}) bool {

Callers 2

YAMLEqfFunction · 0.92
YAMLEqfMethod · 0.70

Calls 2

YAMLEqFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected