YAMLEqf asserts that two YAML strings are equivalent.
(t TestingT, expected string, actual string, msg string, args ...interface{})
| 2092 | |
| 2093 | // YAMLEqf asserts that two YAML strings are equivalent. |
| 2094 | func YAMLEqf(t TestingT, expected string, actual string, msg string, args ...interface{}) { |
| 2095 | if h, ok := t.(tHelper); ok { |
| 2096 | h.Helper() |
| 2097 | } |
| 2098 | if assert.YAMLEqf(t, expected, actual, msg, args...) { |
| 2099 | return |
| 2100 | } |
| 2101 | t.FailNow() |
| 2102 | } |
| 2103 | |
| 2104 | // Zero asserts that i is the zero value for its type. |
| 2105 | func Zero(t TestingT, i interface{}, msgAndArgs ...interface{}) { |