NotPanicsf asserts that the code inside the specified PanicTestFunc does NOT panic. a.NotPanicsf(func(){ RemainCalm() }, "error message %s", "formatted")
(f PanicTestFunc, msg string, args ...interface{})
| 1360 | // |
| 1361 | // a.NotPanicsf(func(){ RemainCalm() }, "error message %s", "formatted") |
| 1362 | func (a *Assertions) NotPanicsf(f PanicTestFunc, msg string, args ...interface{}) bool { |
| 1363 | if h, ok := a.t.(tHelper); ok { |
| 1364 | h.Helper() |
| 1365 | } |
| 1366 | return NotPanicsf(a.t, f, msg, args...) |
| 1367 | } |
| 1368 | |
| 1369 | // NotRegexp asserts that a specified regexp does not match a string. |
| 1370 | // |
nothing calls this directly
no test coverage detected