Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for no_newline (0.32 sec)

  1. src/net/nss_test.go

    rpc:            db files
    
    netgroup:       nis
    `
    
    func TestParseNSSConf(t *testing.T) {
    	t.Parallel()
    
    	tests := []struct {
    		name string
    		in   string
    		want *nssConf
    	}{
    		{
    			name: "no_newline",
    			in:   "foo: a b",
    			want: &nssConf{
    				sources: map[string][]nssSource{
    					"foo": {{source: "a"}, {source: "b"}},
    				},
    			},
    		},
    		{
    			name: "newline",
    			in:   "foo: a b\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/internal/quoted/quoted_test.go

    		{name: "two", value: "a b", want: []string{"a", "b"}},
    		{name: "two_multi_space", value: "a  b", want: []string{"a", "b"}},
    		{name: "two_tab", value: "a\tb", want: []string{"a", "b"}},
    		{name: "two_newline", value: "a\nb", want: []string{"a", "b"}},
    		{name: "quote_single", value: `'a b'`, want: []string{"a b"}},
    		{name: "quote_double", value: `"a b"`, want: []string{"a b"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 27 16:39:27 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. ci/devinfra/docker_windows/Dockerfile

    # will need to be updated as well.
    RUN New-Item -ItemType Directory -Path C:\Android\android-sdk\licenses; \
        Set-Content -Path .\Android\android-sdk\licenses\android-sdk-license -Value "`n24333f8a63b6825ea9c5514f83c2829b004d1fee" -NoNewLine;
    
    # Add sdkmanager to PATH
    RUN $old_path = [Environment]::GetEnvironmentVariable(\"PATH\", \"Machine\"); \
        [Environment]::SetEnvironmentVariable(\"PATH\", $old_path + \";C:\Android\android-sdk\tools\bin\", \"Machine\");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. 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)
  5. 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