MCPcopy Create free account
hub / github.com/chainreactors/spray / newTestBaseline

Function newTestBaseline

core/pool/pool_test.go:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func 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.
52func mustFinish(t *testing.T, d time.Duration, msg string, fn func()) {

Calls

no outgoing calls

Tested by

no test coverage detected