NotEqual fails a test if the actual matches the expected
(t *testing.T, a, b interface{}, message string)
| 78 | |
| 79 | // NotEqual fails a test if the actual matches the expected |
| 80 | func NotEqual(t *testing.T, a, b interface{}, message string) { |
| 81 | ok, m := checkEqual(a, b, message) |
| 82 | if ok { |
| 83 | t.Error(m) |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | // NotEqualf fails a test if the actual matches the expected |
| 88 | func NotEqualf(t *testing.T, a, b interface{}, message string) { |