(t *testing.T)
| 83 | } |
| 84 | |
| 85 | func TestTrueWrapper(t *testing.T) { |
| 86 | assert := New(new(testing.T)) |
| 87 | |
| 88 | if !assert.True(true) { |
| 89 | t.Error("True should return true") |
| 90 | } |
| 91 | if assert.True(false) { |
| 92 | t.Error("True should return false") |
| 93 | } |
| 94 | |
| 95 | } |
| 96 | |
| 97 | func TestFalseWrapper(t *testing.T) { |
| 98 | assert := New(new(testing.T)) |