Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runTerminalPassthrough (0.14 sec)

  1. src/cmd/go/terminal_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		defer w.Close()
    		stdout, stderr := runTerminalPassthrough(t, r, w)
    		if !stdout {
    			t.Errorf("stdout is not a terminal")
    		}
    		if !stderr {
    			t.Errorf("stderr is not a terminal")
    		}
    	})
    }
    
    func runTerminalPassthrough(t *testing.T, r, w *os.File) (stdout, stderr bool) {
    	cmd := testenv.Command(t, testGo, "test", "-run=^$")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 18:18:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top