(t *testing.T, r interface{})
| 84 | } |
| 85 | |
| 86 | func failOnPanic(t *testing.T, r interface{}) { |
| 87 | t.Helper() |
| 88 | if r != nil { |
| 89 | t.Errorf("test panicked: %v\n%s", r, debug.Stack()) |
| 90 | t.FailNow() |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | // Run provides suite functionality around golang subtests. It should be |
| 95 | // called in place of t.Run(name, func(t *testing.T)) in test suite code. |
no test coverage detected