Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestExtractHostPort (0.1 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top