TestStandardOverloadModelsValidate holds the shipped models to the same rules user models are held to at registration.
(t *testing.T)
| 255 | // TestStandardOverloadModelsValidate holds the shipped models to the same rules user models are |
| 256 | // held to at registration. |
| 257 | func 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. |
nothing calls this directly
no test coverage detected