Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValuesAreSameType (0.19 sec)

  1. operator/pkg/util/reflect_test.go

    				t.Errorf("%s with %s (#%d): got: %t, want: %t", tt.desc, reflect.TypeOf(v), vidx, got, want)
    			}
    		}
    	}
    }
    
    func TestValuesAreSameType(t *testing.T) {
    	type EnumType int64
    
    	tests := []struct {
    		inDesc string
    		inV1   any
    		inV2   any
    		want   bool
    	}{
    		{
    			inDesc: "success both are int32 types",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
Back to top