- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestConvertToType (0.18 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/value_test.go
import ( "fmt" "reflect" "testing" "time" "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "github.com/google/cel-go/common/types/traits" ) func TestConvertToType(t *testing.T) { objType := NewObjectType("TestObject", map[string]*DeclField{}) tests := []struct { val interface{} typ ref.Type }{ {true, types.BoolType}, {float64(1.2), types.DoubleType},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 10.4K bytes - Viewed (0)