Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/os/user/lookup_unix_test.go

    	{testGroupFile, "indented", "7"},
    	{testGroupFile, "# comment", ""},
    	{testGroupFile, "largegroup", "1000"},
    	{testGroupFile, "manymembers", "777"},
    	{"", "emptyfile", ""},
    }
    
    func TestFindGroupName(t *testing.T) {
    	for _, tt := range groupTests {
    		got, err := findGroupName(tt.name, strings.NewReader(tt.in))
    		if tt.gid == "" {
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 7.3K bytes
    - Viewed (0)
Back to top