Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseNetrc (0.11 sec)

  1. src/cmd/go/internal/auth/netrc_test.go

      login nobody
      password nothing
    
    default
    login anonymous
    password ******@****.***
    
    machine after.default
    login oops
    password too-late-in-file
    `
    
    func TestParseNetrc(t *testing.T) {
    	lines := parseNetrc(testNetrc)
    	want := []netrcLine{
    		{"api.github.com", "user", "pwd"},
    		{"test.host", "user2", "pwd2"},
    		{"oneline", "user3", "pwd3"},
    		{"hasmacro.too", "user4", "pwd4"},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 21:11:28 UTC 2019
    - 1K bytes
    - Viewed (0)
Back to top