| 134 | } |
| 135 | |
| 136 | func TestNotEqualWrapper(t *testing.T) { |
| 137 | |
| 138 | assert := New(new(testing.T)) |
| 139 | |
| 140 | if !assert.NotEqual("Hello World", "Hello World!") { |
| 141 | t.Error("NotEqual should return true") |
| 142 | } |
| 143 | if !assert.NotEqual(123, 1234) { |
| 144 | t.Error("NotEqual should return true") |
| 145 | } |
| 146 | if !assert.NotEqual(123.5, 123.55) { |
| 147 | t.Error("NotEqual should return true") |
| 148 | } |
| 149 | if !assert.NotEqual([]byte("Hello World"), []byte("Hello World!")) { |
| 150 | t.Error("NotEqual should return true") |
| 151 | } |
| 152 | if !assert.NotEqual(nil, new(AssertionTesterConformingObject)) { |
| 153 | t.Error("NotEqual should return true") |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | func TestNotEqualValuesWrapper(t *testing.T) { |
| 158 | |