Exactlyf asserts that two objects are equal in value and type. assert.Exactlyf(t, int32(123), int64(123), "error message %s", "formatted")
(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{})
| 198 | // |
| 199 | // assert.Exactlyf(t, int32(123), int64(123), "error message %s", "formatted") |
| 200 | func Exactlyf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool { |
| 201 | if h, ok := t.(tHelper); ok { |
| 202 | h.Helper() |
| 203 | } |
| 204 | return Exactly(t, expected, actual, append([]interface{}{msg}, args...)...) |
| 205 | } |
| 206 | |
| 207 | // Failf reports a failure through |
| 208 | func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) bool { |