- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for errFunc (0.27 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning_unstructured_test.go
codec := NewCodec(serializer, serializer, testCase.convertor, nil, testCase.typer, nil, testCase.targetVersion, nil, "noxu-scheme") err := codec.Encode(testCase.outObj, ioutil.Discard) if testCase.errFunc != nil { if !testCase.errFunc(err) { t.Errorf("%v: failed: %v", testCase.name, err) } return } assert.NoError(t, err) assert.Equal(t, testCase.expectedObj, serializer.obj) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 08 14:55:24 UTC 2018 - 10.9K bytes - Viewed (0) -
src/html/template/exec_test.go
{"Interface Call", `{{stringer .S}}`, "foozle", map[string]any{"S": bytes.NewBufferString("foozle")}, true}, {".ErrFunc", "{{call .ErrFunc}}", "bla", tVal, true}, {"call nil", "{{call nil}}", "", tVal, false}, // Erroneous function calls (check args). {".BinaryFuncTooFew", "{{call .BinaryFunc `1`}}", "", tVal, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
src/text/template/exec_test.go
{"Interface Call", `{{stringer .S}}`, "foozle", map[string]any{"S": bytes.NewBufferString("foozle")}, true}, {".ErrFunc", "{{call .ErrFunc}}", "bla", tVal, true}, {"call nil", "{{call nil}}", "", tVal, false}, // Erroneous function calls (check args). {".BinaryFuncTooFew", "{{call .BinaryFunc `1`}}", "", tVal, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0)