(s string)
| 17 | ) |
| 18 | |
| 19 | func testLookPath(s string) ([]string, []string, error) { |
| 20 | return []string{os.Args[0], "-test.run=TestHelperProcess", "--", s}, []string{"GH_WANT_HELPER_PROCESS=1"}, nil |
| 21 | } |
| 22 | |
| 23 | func TestHelperProcess(t *testing.T) { |
| 24 | if os.Getenv("GH_WANT_HELPER_PROCESS") != "1" { |
nothing calls this directly
no outgoing calls
no test coverage detected