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{})
| 205 | // |
| 206 | // assert.Exactlyf(t, int32(123), int64(123), "error message %s", "formatted") |
| 207 | func Exactlyf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool { |
| 208 | if h, ok := t.(tHelper); ok { |
| 209 | h.Helper() |
| 210 | } |
| 211 | return Exactly(t, expected, actual, append([]interface{}{msg}, args...)...) |
| 212 | } |
| 213 | |
| 214 | // Failf reports a failure through |
| 215 | func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) bool { |