MCPcopy Create free account
hub / github.com/cli/cli / testLookPath

Function testLookPath

pkg/surveyext/editor_test.go:19–21  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

17)
18
19func 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
23func TestHelperProcess(t *testing.T) {
24 if os.Getenv("GH_WANT_HELPER_PROCESS") != "1" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected