(t *testing.T)
| 227 | |
| 228 | func TestPathInfo_module(t *testing.T) { testPathInfo(t, nil) } |
| 229 | func TestPathInfo_worker(t *testing.T) { |
| 230 | testPathInfo(t, &testOptions{workerScript: "server-variable.php"}) |
| 231 | } |
| 232 | func testPathInfo(t *testing.T, opts *testOptions) { |
| 233 | cwd, _ := os.Getwd() |
| 234 | testDataDir := cwd + strings.Clone("/testdata/") |
nothing calls this directly
no test coverage detected