True asserts that the specified value is true. a.True(myBool)
(value bool, msgAndArgs ...interface{})
| 1634 | // |
| 1635 | // a.True(myBool) |
| 1636 | func (a *Assertions) True(value bool, msgAndArgs ...interface{}) bool { |
| 1637 | if h, ok := a.t.(tHelper); ok { |
| 1638 | h.Helper() |
| 1639 | } |
| 1640 | return True(a.t, value, msgAndArgs...) |
| 1641 | } |
| 1642 | |
| 1643 | // Truef asserts that the specified value is true. |
| 1644 | // |