()
| 16 | ) |
| 17 | |
| 18 | func init() { |
| 19 | var err error |
| 20 | testCtx, err = metrics.WithContext(context.Background(), "test", "peerd") |
| 21 | if err != nil { |
| 22 | panic(err) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | func TestRun(t *testing.T) { |
| 27 | // Use the shared test context |
nothing calls this directly
no test coverage detected