- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestEcho (0.16 sec)
-
src/cmd/dist/test.go
race: true, runTests: "Output", pkg: "runtime/race", }) t.registerTest(hdr, &goTest{ variant: "race", race: true, runTests: "TestParse|TestEcho|TestStdinCloseRace|TestClosedPipeRace|TestTypeRace|TestFdRace|TestFdReadRace|TestFileCloseRace", pkgs: []string{"flag", "net", "os", "os/exec", "encoding/gob"}, }) // We don't want the following line, because it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
src/os/exec/exec_test.go
if len(args) == 0 { args = []string{"y"} } s := strings.Join(args, " ") + "\n" for { _, err := os.Stdout.WriteString(s) if err != nil { os.Exit(1) } } } func TestEcho(t *testing.T) { t.Parallel() bs, err := helperCommand(t, "echo", "foo bar", "baz").Output() if err != nil { t.Errorf("echo: %v", err) } if g, e := string(bs), "foo bar baz\n"; g != e {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0)