MCPcopy
hub / github.com/tdewolff/minify / helperCommand

Function helperCommand

minify_test.go:22–28  ·  view source on GitHub ↗

from os/exec/exec_test.go

(t *testing.T, s ...string)

Source from the content-addressed store, hash-verified

20
21// from os/exec/exec_test.go
22func helperCommand(t *testing.T, s ...string) *exec.Cmd {
23 cs := []string{"-test.run=TestHelperProcess", "--"}
24 cs = append(cs, s...)
25 cmd := exec.Command(os.Args[0], cs...)
26 cmd.Env = []string{"GO_WANT_HELPER_PROCESS=1", "GOCOVERDIR=."}
27 return cmd
28}
29
30////////////////////////////////////////////////////////////////
31

Callers 1

TestAddFunction · 0.85

Calls 1

appendFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…