Exactly asserts that two objects are equal in value and type. assert.Exactly(t, int32(123), int64(123))
(t TestingT, expected interface{}, actual interface{}, msgAndArgs ...interface{})
| 476 | // |
| 477 | // assert.Exactly(t, int32(123), int64(123)) |
| 478 | func Exactly(t TestingT, expected interface{}, actual interface{}, msgAndArgs ...interface{}) { |
| 479 | if h, ok := t.(tHelper); ok { |
| 480 | h.Helper() |
| 481 | } |
| 482 | if assert.Exactly(t, expected, actual, msgAndArgs...) { |
| 483 | return |
| 484 | } |
| 485 | t.FailNow() |
| 486 | } |
| 487 | |
| 488 | // Exactlyf asserts that two objects are equal in value and type. |
| 489 | // |
searching dependent graphs…