MCPcopy Create free account
hub / github.com/cel-expr/cel-go / TestStandardOverloadModelsValidate

Function TestStandardOverloadModelsValidate

common/cost/validate_test.go:257–261  ·  view source on GitHub ↗

TestStandardOverloadModelsValidate holds the shipped models to the same rules user models are held to at registration.

(t *testing.T)

Source from the content-addressed store, hash-verified

255// TestStandardOverloadModelsValidate holds the shipped models to the same rules user models are
256// held to at registration.
257func TestStandardOverloadModelsValidate(t *testing.T) {
258 if err := ValidateOverloadModels(StandardOverloadModels...); err != nil {
259 t.Errorf("ValidateOverloadModels(StandardOverloadModels) errored: %v, wanted nil", err)
260 }
261}
262
263// TestDescribeQuantityExprLabels covers every expression type, so that a new one which is not
264// listed in describeQuantityExpr is reported rather than silently named by its Go type.

Callers

nothing calls this directly

Calls 1

ValidateOverloadModelsFunction · 0.85

Tested by

no test coverage detected