Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExtractHostPort (1.4 sec)

  1. cmd/net_test.go

    			case testCase.expectedErr.Error() != err.Error():
    				t.Errorf("error: expected = %v, got = %v", testCase.expectedErr, err)
    			}
    		})
    	}
    }
    
    func TestExtractHostPort(t *testing.T) {
    	testCases := []struct {
    		addr        string
    		host        string
    		port        string
    		expectedErr error
    	}{
    		{"", "", "", errors.New("unable to process empty address")},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top