False asserts that the specified value is false. require.False(t, myBool)
(t TestingT, value bool, msgAndArgs ...interface{})
| 559 | // |
| 560 | // require.False(t, myBool) |
| 561 | func False(t TestingT, value bool, msgAndArgs ...interface{}) { |
| 562 | if h, ok := t.(tHelper); ok { |
| 563 | h.Helper() |
| 564 | } |
| 565 | if assert.False(t, value, msgAndArgs...) { |
| 566 | return |
| 567 | } |
| 568 | t.FailNow() |
| 569 | } |
| 570 | |
| 571 | // Falsef asserts that the specified value is false. |
| 572 | // |