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{})
| 489 | // |
| 490 | // assert.Exactlyf(t, int32(123), int64(123), "error message %s", "formatted") |
| 491 | func Exactlyf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) { |
| 492 | if h, ok := t.(tHelper); ok { |
| 493 | h.Helper() |
| 494 | } |
| 495 | if assert.Exactlyf(t, expected, actual, msg, args...) { |
| 496 | return |
| 497 | } |
| 498 | t.FailNow() |
| 499 | } |
| 500 | |
| 501 | // Fail reports a failure through |
| 502 | func Fail(t TestingT, failureMessage string, msgAndArgs ...interface{}) { |