Equal errors a test if the actual does not match the expected
(t *testing.T, a, b interface{}, message string)
| 62 | |
| 63 | // Equal errors a test if the actual does not match the expected |
| 64 | func Equal(t *testing.T, a, b interface{}, message string) { |
| 65 | ok, m := checkEqual(a, b, message) |
| 66 | if !ok { |
| 67 | t.Error(m) |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | // Equalf fails a test if the actual does not match the expected |
| 72 | func Equalf(t *testing.T, a, b interface{}, message string) { |