Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCloneNonFuncFields (0.53 sec)

  1. src/crypto/tls/tls_test.go

    	c2.EncryptedClientHelloRejectionVerify(ConnectionState{})
    
    	if called != (1<<expectedCount)-1 {
    		t.Fatalf("expected %d calls but saw calls %b", expectedCount, called)
    	}
    }
    
    func TestCloneNonFuncFields(t *testing.T) {
    	var c1 Config
    	v := reflect.ValueOf(&c1).Elem()
    
    	typ := v.Type()
    	for i := 0; i < typ.NumField(); i++ {
    		f := v.Field(i)
    		// testing/quick can't handle functions or interfaces and so
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top