()
| 40 | } |
| 41 | |
| 42 | func newTestBaseline() *baseline.Baseline { |
| 43 | return &baseline.Baseline{ |
| 44 | SprayResult: &parsers.SprayResult{ |
| 45 | UrlString: "http://example.com/test", |
| 46 | IsValid: true, |
| 47 | }, |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | // mustFinish fails the test if fn does not return within d. |
| 52 | func mustFinish(t *testing.T, d time.Duration, msg string, fn func()) { |
no outgoing calls
no test coverage detected