Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSameLocalAddrs (0.13 sec)

  1. cmd/net_test.go

    			if testCase.expectedErr.Error() != err.Error() {
    				t.Fatalf("Test %d: failed with different error, expected: '%v', found:'%v'.", i+1, testCase.expectedErr, err)
    			}
    		}
    	}
    }
    
    func TestSameLocalAddrs(t *testing.T) {
    	testCases := []struct {
    		addr1       string
    		addr2       string
    		sameAddr    bool
    		expectedErr error
    	}{
    		{"", "", false, errors.New("unable to process empty address")},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top