(n string)
| 12 | const fixtureDir = "./testdata" |
| 13 | |
| 14 | func testModule(n string) string { |
| 15 | p := filepath.Join(fixtureDir, n) |
| 16 | p, err := filepath.Abs(p) |
| 17 | if err != nil { |
| 18 | panic(err) |
| 19 | } |
| 20 | return fmtFileURL(p) |
| 21 | } |
| 22 | |
| 23 | func httpTestModule(n string) *httptest.Server { |
| 24 | p := filepath.Join(fixtureDir, n) |
no test coverage detected