YAMLEqf asserts that two YAML strings are equivalent.
(t TestingT, expected string, actual string, msg string, args ...interface{})
| 826 | |
| 827 | // YAMLEqf asserts that two YAML strings are equivalent. |
| 828 | func 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. |
| 836 | func Zerof(t TestingT, i interface{}, msg string, args ...interface{}) bool { |