Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for no_newline (0.12 sec)

  1. src/path/filepath/path_windows_test.go

    		t.Skip("skipping test because mklink command does not support junctions")
    	}
    
    	tmpdir := tempDirCanonical(t)
    	vhd := filepath.Join(tmpdir, "Test.vhdx")
    	output = createMountPartition(t, vhd, "Write-Host $vol.Path -NoNewline")
    	vol := string(output)
    
    	dirlink := filepath.Join(tmpdir, "dirlink")
    	output, err := testenv.Command(t, "cmd", "/c", "mklink", "/J", dirlink, vol).CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/net/http/request_test.go

    }
    
    func TestRequestBadHostHeader(t *testing.T) {
    	got := []string{}
    	req, err := NewRequest("GET", "http://foo/after", nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	req.Host = "foo.com\nnewline"
    	req.URL.Host = "foo.com\nnewline"
    	req.Write(logWrites{t, &got})
    	want := []string{
    		"GET /after HTTP/1.1\r\n",
    		"Host: \r\n",
    		"User-Agent: " + DefaultUserAgent + "\r\n",
    		"\r\n",
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top