| 152 | } |
| 153 | |
| 154 | func TestNotEqualWrapper(t *testing.T) { |
| 155 | t.Parallel() |
| 156 | |
| 157 | assert := New(new(testing.T)) |
| 158 | |
| 159 | if !assert.NotEqual("Hello World", "Hello World!") { |
| 160 | t.Error("NotEqual should return true") |
| 161 | } |
| 162 | if !assert.NotEqual(123, 1234) { |
| 163 | t.Error("NotEqual should return true") |
| 164 | } |
| 165 | if !assert.NotEqual(123.5, 123.55) { |
| 166 | t.Error("NotEqual should return true") |
| 167 | } |
| 168 | if !assert.NotEqual([]byte("Hello World"), []byte("Hello World!")) { |
| 169 | t.Error("NotEqual should return true") |
| 170 | } |
| 171 | if !assert.NotEqual(nil, new(AssertionTesterConformingObject)) { |
| 172 | t.Error("NotEqual should return true") |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | func TestNotEqualValuesWrapper(t *testing.T) { |
| 177 | t.Parallel() |