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

Method YAMLEqf

assert/assertion_forward.go:1652–1657  ·  view source on GitHub ↗

YAMLEqf asserts that two YAML strings are equivalent.

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

Source from the content-addressed store, hash-verified

1650
1651// YAMLEqf asserts that two YAML strings are equivalent.
1652func (a *Assertions) YAMLEqf(expected string, actual string, msg string, args ...interface{}) bool {
1653 if h, ok := a.t.(tHelper); ok {
1654 h.Helper()
1655 }
1656 return YAMLEqf(a.t, expected, actual, msg, args...)
1657}
1658
1659// Zero asserts that i is the zero value for its type.
1660func (a *Assertions) Zero(i interface{}, msgAndArgs ...interface{}) bool {

Callers

nothing calls this directly

Calls 2

YAMLEqfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected