False asserts that the specified value is false.
(t *testing.T, value bool, errorMessage ...string)
| 59 | |
| 60 | // False asserts that the specified value is false. |
| 61 | func False(t *testing.T, value bool, errorMessage ...string) { |
| 62 | t.Helper() |
| 63 | if !value { |
| 64 | return |
| 65 | } |
| 66 | fail(t, "Unexpected true", errorMessage...) |
| 67 | } |
searching dependent graphs…