True asserts that the specified value is true. a.True(myBool)
(value bool, msgAndArgs ...interface{})
| 1532 | // |
| 1533 | // a.True(myBool) |
| 1534 | func (a *Assertions) True(value bool, msgAndArgs ...interface{}) bool { |
| 1535 | if h, ok := a.t.(tHelper); ok { |
| 1536 | h.Helper() |
| 1537 | } |
| 1538 | return True(a.t, value, msgAndArgs...) |
| 1539 | } |
| 1540 | |
| 1541 | // Truef asserts that the specified value is true. |
| 1542 | // |