False asserts that the specified value is false. assert.False(t, myBool)
(t TestingT, value bool, msgAndArgs ...interface{})
| 826 | // |
| 827 | // assert.False(t, myBool) |
| 828 | func False(t TestingT, value bool, msgAndArgs ...interface{}) bool { |
| 829 | if value { |
| 830 | if h, ok := t.(tHelper); ok { |
| 831 | h.Helper() |
| 832 | } |
| 833 | return Fail(t, "Should be false", msgAndArgs...) |
| 834 | } |
| 835 | |
| 836 | return true |
| 837 | |
| 838 | } |
| 839 | |
| 840 | // NotEqual asserts that the specified values are NOT equal. |
| 841 | // |